summaryrefslogtreecommitdiff
path: root/include/ppc_asm.tmpl
diff options
context:
space:
mode:
authorRafal Jaworowski <raj@semihalf.com>2007-06-22 14:58:04 +0200
committerRafal Jaworowski <raj@semihalf.com>2007-06-22 14:58:04 +0200
commit02032e8f14751a1a751b09240a4f1cf9f8a2077f (patch)
tree991ddaf81af6904a05370be6615bffa6171d284e /include/ppc_asm.tmpl
parent83b4cfa3d629dff0264366263c5e94d9a50ad80b (diff)
downloadu-boot-imx-02032e8f14751a1a751b09240a4f1cf9f8a2077f.zip
u-boot-imx-02032e8f14751a1a751b09240a4f1cf9f8a2077f.tar.gz
u-boot-imx-02032e8f14751a1a751b09240a4f1cf9f8a2077f.tar.bz2
[ppc] Fix build breakage for all non-4xx PowerPC variants.
- adapt to the more generic EXCEPTION_PROLOG and CRIT_EXCEPTION macros - minor 4xx cleanup
Diffstat (limited to 'include/ppc_asm.tmpl')
-rw-r--r--include/ppc_asm.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ppc_asm.tmpl b/include/ppc_asm.tmpl
index ad027d6..9f4029f 100644
--- a/include/ppc_asm.tmpl
+++ b/include/ppc_asm.tmpl
@@ -274,7 +274,7 @@ label: \
#define CRIT_EXCEPTION(n, label, hdlr) \
. = n; \
label: \
- EXCEPTION_PROLOG(csrr0, csrr1); \
+ EXCEPTION_PROLOG(CSRR0, CSRR1); \
lwz r3,GOT(transfer_to_handler); \
mtlr r3; \
addi r3,r1,STACK_FRAME_OVERHEAD; \