lguest: prepare to make SWITCHER_ADDR a variable.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 22 Apr 2013 04:40:37 +0000 (14:10 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 22 Apr 2013 06:01:33 +0000 (15:31 +0930)
commit406a590ba105bfb7b67952f0a5f948e0d374e03e
tree97fbf193d865ff2fa1b1ab209589c1d456f89fa5
parent74ff582cd65ad01c45f1971feac28f23b7eb2687
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>
arch/x86/include/asm/lguest.h
drivers/lguest/core.c
drivers/lguest/x86/core.c