]> err.no Git - linux-2.6/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)
commitf6c540cdd65d4bc4eaf4dcbf652580f09f3b0c38
tree0ebe77571df346c07fe62f6109ef5fcf5560c059
parentb7ad149d62ffffaccb9f565dfe7e5bae739d6836
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