projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69973b8
)
nios2: Extend !__ASSEMBLY__ section in asm/page.h
author
Tobias Klauser
<tklauser@distanz.ch>
Wed, 9 Nov 2016 07:31:00 +0000
(15:31 +0800)
committer
Ley Foon Tan
<ley.foon.tan@intel.com>
Tue, 13 Dec 2016 09:13:17 +0000
(17:13 +0800)
Some C-only definition from nios2 asm/page.h are exposed to assembly code.
Extend the !__ASSEMBLY__ section to prevent this.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Ley Foon Tan <ley.foon.tan@intel.com>
arch/nios2/include/asm/page.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/nios2/include/asm/page.h
b/arch/nios2/include/asm/page.h
index c1683f51ad0f82009c065c61cbda8a9f3ce853a2..74477ab66f6515fa20ced6f69a1f2271a8f5e0be 100644
(file)
--- a/
arch/nios2/include/asm/page.h
+++ b/
arch/nios2/include/asm/page.h
@@
-76,8
+76,6
@@
extern unsigned long memory_size;
extern struct page *mem_map;
-#endif /* !__ASSEMBLY__ */
-
# define __pa(x) \
((unsigned long)(x) - PAGE_OFFSET + PHYS_OFFSET)
# define __va(x) \
@@
-106,4
+104,6
@@
extern struct page *mem_map;
#include <asm-generic/getorder.h>
+#endif /* !__ASSEMBLY__ */
+
#endif /* _ASM_NIOS2_PAGE_H */