[PATCH] ix86: fix a bogus unwind annotation in lib/semaphore_32.S

From: Jan Beulich
Date: Tue Mar 01 2011 - 09:28:13 EST


'simple' would have required specifying current frame address and
return address location manually, but that's obviously not the case
(and not necessary) here.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

---
arch/x86/lib/semaphore_32.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- 2.6.38-rc6/arch/x86/lib/semaphore_32.S
+++ 2.6.38-rc6-ix86-unwind-write_lock_failed/arch/x86/lib/semaphore_32.S
@@ -36,7 +36,7 @@
*/
#ifdef CONFIG_SMP
ENTRY(__write_lock_failed)
- CFI_STARTPROC simple
+ CFI_STARTPROC
FRAME
2: LOCK_PREFIX
addl $ RW_LOCK_BIAS,(%eax)



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/