diff options
author | Rafal Jaworowski <raj@semihalf.com> | 2007-06-22 14:58:04 +0200 |
---|---|---|
committer | Rafal Jaworowski <raj@semihalf.com> | 2007-06-22 14:58:04 +0200 |
commit | 02032e8f14751a1a751b09240a4f1cf9f8a2077f (patch) | |
tree | 991ddaf81af6904a05370be6615bffa6171d284e /include/ppc_asm.tmpl | |
parent | 83b4cfa3d629dff0264366263c5e94d9a50ad80b (diff) | |
download | u-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.tmpl | 2 |
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; \ |