OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b378a98
)
s390/mm: fence off VM macros from asm and linker
author
Alexander Gordeev
<agordeev@linux.ibm.com>
Thu, 29 Oct 2020 14:29:23 +0000
(15:29 +0100)
committer
Alexander Gordeev
<agordeev@linux.ibm.com>
Mon, 3 Jul 2023 09:19:40 +0000
(11:19 +0200)
Prevent assembler and linker scripts compilation
errors by fencing it off with __ASSEMBLY__ define.
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/include/asm/page.h
patch
|
blob
|
history
diff --git
a/arch/s390/include/asm/page.h
b/arch/s390/include/asm/page.h
index
5ceee81
..
a9c138f
100644
(file)
--- a/
arch/s390/include/asm/page.h
+++ b/
arch/s390/include/asm/page.h
@@
-179,8
+179,6
@@
int arch_make_page_accessible(struct page *page);
#define HAVE_ARCH_MAKE_PAGE_ACCESSIBLE
#endif
-#endif /* !__ASSEMBLY__ */
-
#define __PAGE_OFFSET 0x0UL
#define PAGE_OFFSET 0x0UL
@@
-204,6
+202,8
@@
int arch_make_page_accessible(struct page *page);
#define VM_DATA_DEFAULT_FLAGS VM_DATA_FLAGS_NON_EXEC
+#endif /* !__ASSEMBLY__ */
+
#include <asm-generic/memory_model.h>
#include <asm-generic/getorder.h>