diff options
author | Mikael Starvik <mikael.starvik@axis.com> | 2005-07-27 14:44:27 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-27 19:25:59 -0400 |
commit | cb09f540a1c5e6c5beb6e82f554d51a1f2c87e67 (patch) | |
tree | 869d0be20eb950ea64b7fdcfcbb07082f173cfae /include/asm-cris/arch-v10/processor.h | |
parent | e1637f437f1a2e552e0572e02d46e2c395a4ecaf (diff) |
[PATCH] CRIS update: arch split
Changes necessary to make the sub-arch split complete.
Signed-off-by: Mikael Starvik <starvik@axis.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
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 |