aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlok Kataria <akataria@vmware.com>2008-06-25 11:02:42 -0700
committerIngo Molnar <mingo@elte.hu>2008-07-08 13:16:17 +0200
commitfd6493e16625b92a506fba13deda31c0be5f1cd4 (patch)
tree0980d27707d1658e5830ae9aad5edbee41fcd07c /include
parent6a2f47ca27fad36f99e8478a3807d4b8c7db80e7 (diff)
x86: cleanup e820_setup_gap(), v2
e820_search_gap also take a end_addr parameter to limit search from start_addr to end_addr. Signed-off-by: AloK N Kataria <akataria@vmware.com> Acked-by: Yinghai Lu <yhlu.kernel@gmail.com> Cc: "lenb@kernel.org" <lenb@kernel.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r--include/asm-x86/e820.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/e820.h b/include/asm-x86/e820.h
index 45e904fe407..05a7dc33334 100644
--- a/include/asm-x86/e820.h
+++ b/include/asm-x86/e820.h
@@ -75,7 +75,7 @@ extern u64 e820_remove_range(u64 start, u64 size, unsigned old_type,
extern void update_e820(void);
extern void e820_setup_gap(void);
extern int e820_search_gap(unsigned long *gapstart, unsigned long *gapsize,
- unsigned long start_addr);
+ unsigned long start_addr, unsigned long long end_addr);
struct setup_data;
extern void parse_e820_ext(struct setup_data *data, unsigned long pa_data);