Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5b17e1cd authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Arnd Bergmann
Browse files

asm-generic: rename page.h and uaccess.h



The current asm-generic/page.h only contains the get_order
function, and asm-generic/uaccess.h only implements
unaligned accesses. This renames the file to getorder.h
and uaccess-unaligned.h to make room for new page.h
and uaccess.h file that will be usable by all simple
(e.g. nommu) architectures.

Signed-off-by: default avatarRemis Lima Baima <remis.developer@googlemail.com>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 72099ed2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -93,6 +93,6 @@ typedef struct page *pgtable_t;
					 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)

#include <asm-generic/memory_model.h>
#include <asm-generic/page.h>
#include <asm-generic/getorder.h>

#endif /* _ALPHA_PAGE_H */
+1 −1
Original line number Diff line number Diff line
@@ -202,6 +202,6 @@ typedef struct page *pgtable_t;
	(((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0) | \
	 VM_READ | VM_WRITE | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)

#include <asm-generic/page.h>
#include <asm-generic/getorder.h>

#endif
+1 −1
Original line number Diff line number Diff line
@@ -81,7 +81,7 @@ extern unsigned long memory_end;
#define	virt_addr_valid(kaddr)	(((void *)(kaddr) >= (void *)PAGE_OFFSET) && \
				((void *)(kaddr) < (void *)memory_end))

#include <asm-generic/page.h>
#include <asm-generic/getorder.h>

#endif				/* __ASSEMBLY__ */

+1 −1
Original line number Diff line number Diff line
@@ -68,7 +68,7 @@ typedef struct page *pgtable_t;
				 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)

#include <asm-generic/memory_model.h>
#include <asm-generic/page.h>
#include <asm-generic/getorder.h>

#endif /* _CRIS_PAGE_H */
+1 −1
Original line number Diff line number Diff line
@@ -73,6 +73,6 @@ extern unsigned long max_pfn;
#endif /* __ASSEMBLY__ */

#include <asm-generic/memory_model.h>
#include <asm-generic/page.h>
#include <asm-generic/getorder.h>

#endif /* _ASM_PAGE_H */
Loading