[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] fix compilation in traps.c with crash_debug=y [was Re: [Xen-changelog] Paravirtualise the CPUID instruction by forcing emulation with an invalid-opcode prefix.]
I need the following trivial patch to get it to compile with crash_debug=y, trapnr is undefined there so s/trapnr/TRAP_invalid_op/. Signed-off-by: Muli Ben-Yehuda <mulix@xxxxxxxxx> diff -r 973a60e77cd9 -r f69de6ff45e0 xen/arch/x86/traps.c --- a/xen/arch/x86/traps.c Thu Mar 23 09:57:01 2006 +0200 +++ b/xen/arch/x86/traps.c Thu Mar 23 10:03:43 2006 +0200 @@ -450,7 +450,7 @@ asmlinkage int do_invalid_op(struct cpu_ if ( unlikely(!guest_mode(regs)) ) { - DEBUGGER_trap_fatal(trapnr, regs); + DEBUGGER_trap_fatal(TRAP_invalid_op, regs); show_registers(regs); panic("CPU%d FATAL TRAP: vector = %d (invalid opcode)\n", smp_processor_id(), TRAP_invalid_op); -- Muli Ben-Yehuda http://www.mulix.org | http://mulix.livejournal.com/ _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |