summaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2008-01-18 00:21:11 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-01-18 00:38:58 +0100
commitb0e86f0a3b9329bbebadb01ca935208459df18c3 (patch)
treee5c662538c6c35a76d6a11a1e2d8db550e369e4d /mm/page_alloc.c
parentpnpacpi: print resource shortage message only once (more) (diff)
downloadlinux-b0e86f0a3b9329bbebadb01ca935208459df18c3.tar.xz
linux-b0e86f0a3b9329bbebadb01ca935208459df18c3.zip
CRIS v10: vmlinux.lds.S: ix kernel oops on boot and use common defines
- Move alignment to page size of init data outside ifdef for BLK_DEV_INITRD. The reservation up to page size of memory after init data was previously not done if BLK_DEV_INITRD was undefined. This caused a kernel oops when init memory pages were freed after startup, data placed in the same page as the last init memory would also be freed and reused, with disastrous results. - Use macros for initcalls and .text sections. - Replace hardcoded page size constant with PAGE_SIZE define. - Change include/asm-cris/page.h to use the _AC macro to instead of testing __ASSEMBLY__. Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com> Cc: Sam Ravnborg <sam@ravnborg.org> Cc: Mikael Starvik <mikael.starvik@axis.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions