diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-10-01 04:43:42 -0400 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-10-01 04:43:42 -0400 |
commit | dc1c1ca3dcd94c545c5e01d7c06b46824d43f4d0 (patch) | |
tree | fa088ac3eae8709dd379deda6f31d5b29197d4c9 /arch/ppc/kernel/head_booke.h | |
parent | d96024c688b59d4d1e60dbb0e226964eb758aa01 (diff) |
powerpc: merge idle_power4.S and trapc.s
Use idle_power4.S from ppc64 as we are not going to support
32 bit power4 in the merged tree.
Merge ppc64 traps.c into powerpc traps.c:
use ppc64 versions of exception routine names
(as they don't have StudlyCaps)
make all the versions if die() have the same
prototype
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'arch/ppc/kernel/head_booke.h')
-rw-r--r-- | arch/ppc/kernel/head_booke.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ppc/kernel/head_booke.h b/arch/ppc/kernel/head_booke.h index 9342acf12e72..aeb349b47af3 100644 --- a/arch/ppc/kernel/head_booke.h +++ b/arch/ppc/kernel/head_booke.h | |||
@@ -335,7 +335,7 @@ label: | |||
335 | mfspr r4,SPRN_DEAR; /* Grab the DEAR and save it */ \ | 335 | mfspr r4,SPRN_DEAR; /* Grab the DEAR and save it */ \ |
336 | stw r4,_DEAR(r11); \ | 336 | stw r4,_DEAR(r11); \ |
337 | addi r3,r1,STACK_FRAME_OVERHEAD; \ | 337 | addi r3,r1,STACK_FRAME_OVERHEAD; \ |
338 | EXC_XFER_EE(0x0600, AlignmentException) | 338 | EXC_XFER_EE(0x0600, alignment_exception) |
339 | 339 | ||
340 | #define PROGRAM_EXCEPTION \ | 340 | #define PROGRAM_EXCEPTION \ |
341 | START_EXCEPTION(Program) \ | 341 | START_EXCEPTION(Program) \ |
@@ -343,7 +343,7 @@ label: | |||
343 | mfspr r4,SPRN_ESR; /* Grab the ESR and save it */ \ | 343 | mfspr r4,SPRN_ESR; /* Grab the ESR and save it */ \ |
344 | stw r4,_ESR(r11); \ | 344 | stw r4,_ESR(r11); \ |
345 | addi r3,r1,STACK_FRAME_OVERHEAD; \ | 345 | addi r3,r1,STACK_FRAME_OVERHEAD; \ |
346 | EXC_XFER_STD(0x0700, ProgramCheckException) | 346 | EXC_XFER_STD(0x0700, program_check_exception) |
347 | 347 | ||
348 | #define DECREMENTER_EXCEPTION \ | 348 | #define DECREMENTER_EXCEPTION \ |
349 | START_EXCEPTION(Decrementer) \ | 349 | START_EXCEPTION(Decrementer) \ |