diff options
author | Yoshinori Sato <ysato@users.sourceforge.jp> | 2008-10-16 01:01:17 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-16 14:21:29 -0400 |
commit | 9791af55b5edb44d89608b9934a0022e7a27f625 (patch) | |
tree | 9bb9ffa8e927879e8aefb81afdb6398a0406ea5f /arch/h8300/include/asm | |
parent | 81d423e280d193d351f41eacdb3f82c3bb9610c1 (diff) |
h8300: GENERIC_BUG support
CONFIG_GENERIC_BUG support.
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/h8300/include/asm')
-rw-r--r-- | arch/h8300/include/asm/bug.h | 4 | ||||
-rw-r--r-- | arch/h8300/include/asm/system.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/h8300/include/asm/bug.h b/arch/h8300/include/asm/bug.h index edddf5b086e5..887c19773185 100644 --- a/arch/h8300/include/asm/bug.h +++ b/arch/h8300/include/asm/bug.h | |||
@@ -1,4 +1,8 @@ | |||
1 | #ifndef _H8300_BUG_H | 1 | #ifndef _H8300_BUG_H |
2 | #define _H8300_BUG_H | 2 | #define _H8300_BUG_H |
3 | |||
4 | /* always true */ | ||
5 | #define is_valid_bugaddr(addr) (1) | ||
6 | |||
3 | #include <asm-generic/bug.h> | 7 | #include <asm-generic/bug.h> |
4 | #endif | 8 | #endif |
diff --git a/arch/h8300/include/asm/system.h b/arch/h8300/include/asm/system.h index 4b8e475908ae..d98d97685f06 100644 --- a/arch/h8300/include/asm/system.h +++ b/arch/h8300/include/asm/system.h | |||
@@ -155,4 +155,6 @@ static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int siz | |||
155 | 155 | ||
156 | #define arch_align_stack(x) (x) | 156 | #define arch_align_stack(x) (x) |
157 | 157 | ||
158 | void die(char *str, struct pt_regs *fp, unsigned long err); | ||
159 | |||
158 | #endif /* _H8300_SYSTEM_H */ | 160 | #endif /* _H8300_SYSTEM_H */ |