Skip to content
Snippets Groups Projects
Commit cc3023b9 authored by Rafal Jaworowski's avatar Rafal Jaworowski Committed by Detlev Zundel
Browse files

Fix breakage of 8xx boards from recent commit.


This patch fixes the negative consequences for 8xx of the recent
"ppc4xx: Clean up 440 exceptions handling" commit.

Signed-off-by: default avatarRafal Jaworowski <raj@semihalf.com>
parent 3a6cab84
No related branches found
No related tags found
No related merge requests found
......@@ -628,6 +628,12 @@
#define MAS6 SPRN_MAS6
#define MAS7 SPRN_MAS7
#if defined(CONFIG_4xx) || defined(CONFIG_44x) || defined(CONFIG_MPC85xx)
#define DAR_DEAR DEAR
#else
#define DAR_DEAR DAR
#endif
/* Device Control Registers */
#define DCRN_BEAR 0x090 /* Bus Error Address Register */
......
......@@ -235,7 +235,7 @@
stw r22,_CTR(r21); \
mfspr r20,XER; \
stw r20,_XER(r21); \
mfspr r20,DEAR; \
mfspr r20, DAR_DEAR; \
stw r20,_DAR(r21); \
mfspr r22,reg1; \
mfspr r23,reg2; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment