aboutsummaryrefslogtreecommitdiff
path: root/include/asm-sparc64/mman.h
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 /include/asm-sparc64/mman.h
parent469b1d8741a5970ad49f2b5a837811579ba0b6f2 (diff)
[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 'include/asm-sparc64/mman.h')
0 files changed, 0 insertions, 0 deletions