diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2013-04-22 14:10:37 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2013-04-22 15:31:33 +0930 |
commit | 406a590ba105bfb7b67952f0a5f948e0d374e03e (patch) | |
tree | 97fbf193d865ff2fa1b1ab209589c1d456f89fa5 /arch/x86/include/asm/lguest.h | |
parent | 74ff582cd65ad01c45f1971feac28f23b7eb2687 (diff) | |
download | blackbird-obmc-linux-406a590ba105bfb7b67952f0a5f948e0d374e03e.tar.gz blackbird-obmc-linux-406a590ba105bfb7b67952f0a5f948e0d374e03e.zip |
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/x86/include/asm/lguest.h')
-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 @@ #else #define SWITCHER_ADDR 0xFFC00000 #endif +/* Where we map the Switcher, in both Host and Guest. */ +extern unsigned long switcher_addr; /* Found in switcher.S */ extern unsigned long default_idt_entries[]; |