[PATCH] ppc32: Trivial bug fix in CRITICAL_EXCEPTION macro

Kumar Gala galak at freescale.com
Thu Mar 3 15:34:08 EST 2005


Andrew,

This patch fixes a trival bug in the CRITICAL_EXCEPTION macro

Signed-off-by: Takeharu KATO <kato.takeharu at jp.fujitsu.com>
Signed-off-by: Kumar Gala <kumar.gala at freescale.com>

---
diff -Nru a/arch/ppc/kernel/head_booke.h b/arch/ppc/kernel/head_booke.h
--- a/arch/ppc/kernel/head_booke.h	2005-03-02 22:20:28 -06:00
+++ b/arch/ppc/kernel/head_booke.h	2005-03-02 22:20:28 -06:00
@@ -194,8 +194,8 @@
 	CRITICAL_EXCEPTION_PROLOG;				\
 	addi	r3,r1,STACK_FRAME_OVERHEAD;			\
 	EXC_XFER_TEMPLATE(hdlr, n+2, (MSR_KERNEL & ~(MSR_ME|MSR_DE|MSR_CE)), \
-			  NOCOPY, transfer_to_handler_full, \
-			  ret_from_except_full)
+			  NOCOPY, crit_transfer_to_handler, \
+			  ret_from_crit_exc)
 
 #define MCHECK_EXCEPTION(n, label, hdlr)			\
 	START_EXCEPTION(label);					\



More information about the Linuxppc-embedded mailing list