diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2013-04-22 06:40:37 +0200 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2013-04-22 08:01:33 +0200 |
commit | 406a590ba105bfb7b67952f0a5f948e0d374e03e (patch) | |
tree | 97fbf193d865ff2fa1b1ab209589c1d456f89fa5 /arch/x86/include/asm/lguest.h | |
parent | virtio: console: replace EMFILE with EBUSY for already-open port (diff) | |
download | linux-406a590ba105bfb7b67952f0a5f948e0d374e03e.tar.xz 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[]; |