aboutsummaryrefslogtreecommitdiffstats
path: root/init/main.c
diff options
context:
space:
mode:
authorVivek Goyal <vgoyal@in.ibm.com>2006-10-21 18:37:01 +0200
committerAndi Kleen <andi@basil.nowhere.org>2006-10-21 18:37:01 +0200
commit73bb8919b33d42cf75a0ed89bc9ca6a7128665be (patch)
tree8dc8fd2f90a2b9b9c8ac98db813b297f91506ecc /init/main.c
parent[PATCH] x86-64: Fix for arch/x86_64/pci/Makefile CFLAGS (diff)
downloadlinux-dev-73bb8919b33d42cf75a0ed89bc9ca6a7128665be.tar.xz
linux-dev-73bb8919b33d42cf75a0ed89bc9ca6a7128665be.zip
[PATCH] x86-64: fix page align in e820 allocator
Currently some code pieces assume that address returned by find_e820_area() are page aligned. But looks like find_e820_area() had no such intention and hence one might end up stomping over some of the data. One such case is bootmem allocator initialization code stomped over bss. This patch modified find_e820_area() to return page aligned address. This might be little wasteful of memory but at the same time probably it is easier to handle page aligned memory. Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com> Signed-off-by: Andi Kleen <ak@suse.de> Cc: Andi Kleen <ak@muc.de> Signed-off-by: Andrew Morton <akpm@osdl.org>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions