summaryrefslogtreecommitdiffstats
path: root/include/asm-x86
diff options
context:
space:
mode:
authorHuang, Ying <ying.huang@intel.com>2008-03-28 03:49:42 +0100
committerIngo Molnar <mingo@elte.hu>2008-04-26 21:34:42 +0200
commit50eae2a7c9862afe263a2003c12f457ecfc9e6a2 (patch)
tree96e8e53c168c4c4cc983f629151091c17014be3b /include/asm-x86
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/x86... (diff)
downloadlinux-50eae2a7c9862afe263a2003c12f457ecfc9e6a2.tar.xz
linux-50eae2a7c9862afe263a2003c12f457ecfc9e6a2.zip
x86, boot: add free_early to early reservation machanism
Add free_early to early reservation mechanism - this way early bootup failure paths can stop wasting memory. Signed-off-by: Huang Ying <ying.huang@intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86')
-rw-r--r--include/asm-x86/e820_64.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-x86/e820_64.h b/include/asm-x86/e820_64.h
index f478c57eb060..b5e02e379af3 100644
--- a/include/asm-x86/e820_64.h
+++ b/include/asm-x86/e820_64.h
@@ -48,6 +48,7 @@ extern struct e820map e820;
extern void update_e820(void);
extern void reserve_early(unsigned long start, unsigned long end, char *name);
+extern void free_early(unsigned long start, unsigned long end);
extern void early_res_to_bootmem(void);
#endif/*!__ASSEMBLY__*/