diff options
Diffstat (limited to 'include/asm-cris/arch-v10/processor.h')
-rw-r--r-- | include/asm-cris/arch-v10/processor.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-cris/arch-v10/processor.h b/include/asm-cris/arch-v10/processor.h index 9355d8675a58..e23df8dc96e8 100644 --- a/include/asm-cris/arch-v10/processor.h +++ b/include/asm-cris/arch-v10/processor.h | |||
@@ -59,4 +59,12 @@ struct thread_struct { | |||
59 | wrusp(usp); \ | 59 | wrusp(usp); \ |
60 | } while(0) | 60 | } while(0) |
61 | 61 | ||
62 | /* Called when handling a kernel bus fault fixup. | ||
63 | * | ||
64 | * After a fixup we do not want to return by restoring the CPU-state | ||
65 | * anymore, so switch frame-types (see ptrace.h) | ||
66 | */ | ||
67 | #define arch_fixup(regs) \ | ||
68 | regs->frametype = CRIS_FRAME_NORMAL; | ||
69 | |||
62 | #endif | 70 | #endif |