• Rusty Russell's avatar
    x86: fix lguest build failure · f6c540cd
    Rusty Russell authored
    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: default avatarRusty Russell <rusty@rustcorp.com.au>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    f6c540cd
asm-offsets_32.c 5.04 KB