diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2013-04-22 00:40:37 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2013-04-22 02:01:33 -0400 |
commit | 406a590ba105bfb7b67952f0a5f948e0d374e03e (patch) | |
tree | 97fbf193d865ff2fa1b1ab209589c1d456f89fa5 /arch | |
parent | 74ff582cd65ad01c45f1971feac28f23b7eb2687 (diff) |
lguest: prepare to make SWITCHER_ADDR a variable.
We currently use the whole top PGD entry for the switcher, but that's
hitting the fixmap in some configurations (mainly, large NR_CPUS).
Introduce a variable, currently set to the constant.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/include/asm/lguest.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/lguest.h b/arch/x86/include/asm/lguest.h index 0d97deba1e35..85ecdb80d121 100644 --- a/arch/x86/include/asm/lguest.h +++ b/arch/x86/include/asm/lguest.h | |||
@@ -23,6 +23,8 @@ | |||
23 | #else | 23 | #else |
24 | #define SWITCHER_ADDR 0xFFC00000 | 24 | #define SWITCHER_ADDR 0xFFC00000 |
25 | #endif | 25 | #endif |
26 | /* Where we map the Switcher, in both Host and Guest. */ | ||
27 | extern unsigned long switcher_addr; | ||
26 | 28 | ||
27 | /* Found in switcher.S */ | 29 | /* Found in switcher.S */ |
28 | extern unsigned long default_idt_entries[]; | 30 | extern unsigned long default_idt_entries[]; |