2010-06-30 13:30:30

by Jan Beulich

[permalink] [raw]
Subject: [PATCH] x86-64: adjust frame type at paranoid_exit:

As this isn't an exception or interrupt entry point, it doesn't have
any of the hardware provide frame layouts active.

Signed-off-by: Jan Beulich <[email protected]>

--- linux-2.6.35-rc3/arch/x86/kernel/entry_64.S
+++ 2.6.35-rc3-x86_64-unwind-annotations/arch/x86/kernel/entry_64.S
@@ -1365,7 +1364,7 @@ paranoidzeroentry machine_check *machine

/* ebx: no swapgs flag */
ENTRY(paranoid_exit)
- INTR_FRAME
+ DEFAULT_FRAME
DISABLE_INTERRUPTS(CLBR_NONE)
TRACE_IRQS_OFF
testl %ebx,%ebx /* swapgs needed? */