aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc/kernel/traps.c
diff options
context:
space:
mode:
authorBecky Bruce <bgill@freescale.com>2005-09-19 18:01:54 -0400
committerPaul Mackerras <paulus@samba.org>2005-09-21 05:21:09 -0400
commit25433b123ce1a3da78ddd9b848484bca91cbb7a1 (patch)
tree259ee758b3770894160dd8a732fddd4067ea8699 /arch/ppc/kernel/traps.c
parent3e57615bb5a8b6208627049884ee441f6d05905e (diff)
[PATCH] powerpc: Merge bug.h
ppc32/ppc64: Merge bug.h into include/asm-powerpc This patch merges bug.h into include/asm-powerpc. Changed the data structure for bug_entry such that line is always an int on both 32 and 64-bit platforms; removed casts to int from the 64-bit trap code to reflect this. Signed-off-by: Kumar Gala <kumar.gala@freescale.com> Signed-off-by: Becky Bruce <Becky.Bruce@freescale.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc/kernel/traps.c')
-rw-r--r--arch/ppc/kernel/traps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/kernel/traps.c b/arch/ppc/kernel/traps.c
index 961ede87be72..82e4d70e6dbb 100644
--- a/arch/ppc/kernel/traps.c
+++ b/arch/ppc/kernel/traps.c
@@ -575,7 +575,7 @@ extern struct bug_entry __start___bug_table[], __stop___bug_table[];
575#define module_find_bug(x) NULL 575#define module_find_bug(x) NULL
576#endif 576#endif
577 577
578static struct bug_entry *find_bug(unsigned long bugaddr) 578struct bug_entry *find_bug(unsigned long bugaddr)
579{ 579{
580 struct bug_entry *bug; 580 struct bug_entry *bug;
581 581