aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/proto.h
diff options
context:
space:
mode:
authorBernhard Walle <bwalle@suse.de>2008-06-08 09:46:30 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-08 04:34:54 -0400
commit8b2ef1d7285740953a2c4ef7faf15fdfc5e2f358 (patch)
tree4e7146ba90fdbecf49bbf6a867d1b2951d67d5c3 /include/asm-x86/proto.h
parent896395c290f902576270d84291c1f7f8bfbe339d (diff)
x86: add flags parameter to reserve_bootmem_generic()
This patch adds a 'flags' parameter to reserve_bootmem_generic() like it already has been added in reserve_bootmem() with commit 72a7fe3967dbf86cb34e24fbf1d957fe24d2f246. It also changes all users to use BOOTMEM_DEFAULT, which doesn't effectively change the behaviour. Since the change is x86-specific, I don't think it's necessary to add a new API for migration. There are only 4 users of that function. The change is necessary for the next patch, using reserve_bootmem_generic() for crashkernel reservation. Signed-off-by: Bernhard Walle <bwalle@suse.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/proto.h')
-rw-r--r--include/asm-x86/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/proto.h b/include/asm-x86/proto.h
index 6c8b41b03f6d..a9f51472521e 100644
--- a/include/asm-x86/proto.h
+++ b/include/asm-x86/proto.h
@@ -14,7 +14,7 @@ extern void ia32_syscall(void);
14extern void ia32_cstar_target(void); 14extern void ia32_cstar_target(void);
15extern void ia32_sysenter_target(void); 15extern void ia32_sysenter_target(void);
16 16
17extern void reserve_bootmem_generic(unsigned long phys, unsigned len); 17extern int reserve_bootmem_generic(unsigned long phys, unsigned len, int flags);
18 18
19extern void syscall32_cpu_init(void); 19extern void syscall32_cpu_init(void);
20 20