diff options
Diffstat (limited to 'arch/avr32')
-rw-r--r-- | arch/avr32/include/asm/mman.h | 18 | ||||
-rw-r--r-- | arch/avr32/mm/init.c | 2 |
2 files changed, 2 insertions, 18 deletions
diff --git a/arch/avr32/include/asm/mman.h b/arch/avr32/include/asm/mman.h index 9a92b15f6a66..8eebf89f5ab1 100644 --- a/arch/avr32/include/asm/mman.h +++ b/arch/avr32/include/asm/mman.h | |||
@@ -1,17 +1 @@ | |||
1 | #ifndef __ASM_AVR32_MMAN_H__ | #include <asm-generic/mman.h> | |
2 | #define __ASM_AVR32_MMAN_H__ | ||
3 | |||
4 | #include <asm-generic/mman-common.h> | ||
5 | |||
6 | #define MAP_GROWSDOWN 0x0100 /* stack-like segment */ | ||
7 | #define MAP_DENYWRITE 0x0800 /* ETXTBSY */ | ||
8 | #define MAP_EXECUTABLE 0x1000 /* mark it as an executable */ | ||
9 | #define MAP_LOCKED 0x2000 /* pages are locked */ | ||
10 | #define MAP_NORESERVE 0x4000 /* don't check for reservations */ | ||
11 | #define MAP_POPULATE 0x8000 /* populate (prefault) page tables */ | ||
12 | #define MAP_NONBLOCK 0x10000 /* do not block on IO */ | ||
13 | |||
14 | #define MCL_CURRENT 1 /* lock all current mappings */ | ||
15 | #define MCL_FUTURE 2 /* lock all future mappings */ | ||
16 | |||
17 | #endif /* __ASM_AVR32_MMAN_H__ */ | ||
diff --git a/arch/avr32/mm/init.c b/arch/avr32/mm/init.c index cc60d10cf8f7..94925641e53e 100644 --- a/arch/avr32/mm/init.c +++ b/arch/avr32/mm/init.c | |||
@@ -139,7 +139,7 @@ void __init mem_init(void) | |||
139 | 139 | ||
140 | printk ("Memory: %luk/%luk available (%dk kernel code, " | 140 | printk ("Memory: %luk/%luk available (%dk kernel code, " |
141 | "%dk reserved, %dk data, %dk init)\n", | 141 | "%dk reserved, %dk data, %dk init)\n", |
142 | (unsigned long)nr_free_pages() << (PAGE_SHIFT - 10), | 142 | nr_free_pages() << (PAGE_SHIFT - 10), |
143 | totalram_pages << (PAGE_SHIFT - 10), | 143 | totalram_pages << (PAGE_SHIFT - 10), |
144 | codesize >> 10, | 144 | codesize >> 10, |
145 | reservedpages << (PAGE_SHIFT - 10), | 145 | reservedpages << (PAGE_SHIFT - 10), |