diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-06-11 14:07:26 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-06-11 14:48:34 -0400 |
commit | fec6a82282cc38397ba1c4a7b5b99d70eea06532 (patch) | |
tree | e9c77391641f418f1257fa96512aff0cdae4f9fc /arch/powerpc/kernel/head_booke.h | |
parent | 5848f16947026601b9cb4df694bb9f44dfefc354 (diff) |
powerpc/booke: Fix some comments related to debug level exceptions
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/head_booke.h')
-rw-r--r-- | arch/powerpc/kernel/head_booke.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/head_booke.h b/arch/powerpc/kernel/head_booke.h index f277fade1932..9501c580ce87 100644 --- a/arch/powerpc/kernel/head_booke.h +++ b/arch/powerpc/kernel/head_booke.h | |||
@@ -240,7 +240,7 @@ label: | |||
240 | * the code where the exception occurred (since exception entry \ | 240 | * the code where the exception occurred (since exception entry \ |
241 | * doesn't turn off DE automatically). We simulate the effect \ | 241 | * doesn't turn off DE automatically). We simulate the effect \ |
242 | * of turning off DE on entry to an exception handler by turning \ | 242 | * of turning off DE on entry to an exception handler by turning \ |
243 | * off DE in the CSRR1 value and clearing the debug status. \ | 243 | * off DE in the DSRR1 value and clearing the debug status. \ |
244 | */ \ | 244 | */ \ |
245 | mfspr r10,SPRN_DBSR; /* check single-step/branch taken */ \ | 245 | mfspr r10,SPRN_DBSR; /* check single-step/branch taken */ \ |
246 | andis. r10,r10,DBSR_IC@h; \ | 246 | andis. r10,r10,DBSR_IC@h; \ |
@@ -278,7 +278,7 @@ label: | |||
278 | RFDI; \ | 278 | RFDI; \ |
279 | b .; \ | 279 | b .; \ |
280 | \ | 280 | \ |
281 | /* continue normal handling for a critical exception... */ \ | 281 | /* continue normal handling for a debug exception... */ \ |
282 | 2: mfspr r4,SPRN_DBSR; \ | 282 | 2: mfspr r4,SPRN_DBSR; \ |
283 | addi r3,r1,STACK_FRAME_OVERHEAD; \ | 283 | addi r3,r1,STACK_FRAME_OVERHEAD; \ |
284 | EXC_XFER_TEMPLATE(DebugException, 0x2008, (MSR_KERNEL & ~(MSR_ME|MSR_DE|MSR_CE)), NOCOPY, debug_transfer_to_handler, ret_from_debug_exc) | 284 | EXC_XFER_TEMPLATE(DebugException, 0x2008, (MSR_KERNEL & ~(MSR_ME|MSR_DE|MSR_CE)), NOCOPY, debug_transfer_to_handler, ret_from_debug_exc) |