diff options
Diffstat (limited to 'arch/powerpc/mm/fault.c')
-rw-r--r-- | arch/powerpc/mm/fault.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/mm/fault.c b/arch/powerpc/mm/fault.c index 3df641fa789d..841d8b6323a8 100644 --- a/arch/powerpc/mm/fault.c +++ b/arch/powerpc/mm/fault.c | |||
@@ -80,6 +80,7 @@ static int store_updates_sp(struct pt_regs *regs) | |||
80 | return 0; | 80 | return 0; |
81 | } | 81 | } |
82 | 82 | ||
83 | #if !(defined(CONFIG_4xx) || defined(CONFIG_BOOKE)) | ||
83 | static void do_dabr(struct pt_regs *regs, unsigned long error_code) | 84 | static void do_dabr(struct pt_regs *regs, unsigned long error_code) |
84 | { | 85 | { |
85 | siginfo_t info; | 86 | siginfo_t info; |
@@ -101,6 +102,7 @@ static void do_dabr(struct pt_regs *regs, unsigned long error_code) | |||
101 | info.si_addr = (void __user *)regs->nip; | 102 | info.si_addr = (void __user *)regs->nip; |
102 | force_sig_info(SIGTRAP, &info, current); | 103 | force_sig_info(SIGTRAP, &info, current); |
103 | } | 104 | } |
105 | #endif /* !(CONFIG_4xx || CONFIG_BOOKE)*/ | ||
104 | 106 | ||
105 | /* | 107 | /* |
106 | * For 600- and 800-family processors, the error_code parameter is DSISR | 108 | * For 600- and 800-family processors, the error_code parameter is DSISR |