aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/e820_64.h
diff options
context:
space:
mode:
authorYinghai Lu <Yinghai.Lu@Sun.COM>2008-04-17 17:40:45 +0200
committerIngo Molnar <mingo@elte.hu>2008-04-17 17:40:45 +0200
commit48c508b364324c35018284328b5b92c51d2b30e0 (patch)
tree664a69bcb8b583d526af6d870fa6efeb6d83c02f /include/asm-x86/e820_64.h
parentx86: do kernel direct mapping at boot using GB pages (diff)
downloadlinux-dev-48c508b364324c35018284328b5b92c51d2b30e0.tar.xz
linux-dev-48c508b364324c35018284328b5b92c51d2b30e0.zip
x86: clean up find_e820_area(), 64-bit
Change size to unsigned long, becase caller and user all used unsigned long. Also make bad_addr take an alignment parameter. Signed-off-by: Yinghai Lu <yinghai.lu@sun.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/e820_64.h')
-rw-r--r--include/asm-x86/e820_64.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/e820_64.h b/include/asm-x86/e820_64.h
index 22ede73ae724..9e06c6eb4e27 100644
--- a/include/asm-x86/e820_64.h
+++ b/include/asm-x86/e820_64.h
@@ -15,7 +15,7 @@
#ifndef __ASSEMBLY__
extern unsigned long find_e820_area(unsigned long start, unsigned long end,
- unsigned size, unsigned long align);
+ unsigned long size, unsigned long align);
extern void add_memory_region(unsigned long start, unsigned long size,
int type);
extern void update_memory_range(u64 start, u64 size, unsigned old_type,