]> git.baikalelectronics.ru Git - kernel.git/commit
x86: fix lguest build failure
authorRusty Russell <rusty@rustcorp.com.au>
Sun, 3 Feb 2008 20:11:10 +0000 (07:11 +1100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 18 Feb 2008 19:54:14 +0000 (20:54 +0100)
commit8a3a90c9d7c40bdd1d10fbd071c533fdc08581cb
tree0ebe77571df346c07fe62f6109ef5fcf5560c059
parentaafa781938ee7994c66d1de0b1e2129b280fbdb0
x86: fix lguest build failure

drivers/lguest/x86/switcher_32.S:(.text+0x3815f8):
undefined reference to `LGUEST_PAGES_regs_trapnum'

This problem was caused by asm-offsets.c only having the offsets when
lguest *guest* support was set, not lguest host (host support used to
imply guest support, so now they're separate these bugs come out).

Lguest guest support and host support are separate config options:
they used to be tied together. Sort out which parts of asm-offsets are
needed for Guest and Host.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/asm-offsets_32.c