staging: rtl8192u: remove redundant assignment to pointer crypt
[linux/fpc-iii.git] / arch / h8300 / include / asm / page.h
blob8da5124ad344025fcb801c7eb1c3f379627f8442
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _H8300_PAGE_H
3 #define _H8300_PAGE_H
5 #include <asm-generic/page.h>
6 #include <linux/types.h>
8 #define MAP_NR(addr) (((uintptr_t)(addr)-PAGE_OFFSET) >> PAGE_SHIFT)
9 #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \
10 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)
12 #ifndef __ASSEMBLY__
13 extern unsigned long rom_length;
14 extern unsigned long memory_start;
15 extern unsigned long memory_end;
16 extern unsigned long _ramend;
17 #endif
19 #endif