summaryrefslogtreecommitdiffstats
path: root/kernel/arch/parisc/mm/fault.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/parisc/mm/fault.c')
-rw-r--r--kernel/arch/parisc/mm/fault.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/arch/parisc/mm/fault.c b/kernel/arch/parisc/mm/fault.c
index a762864ec..f90644499 100644
--- a/kernel/arch/parisc/mm/fault.c
+++ b/kernel/arch/parisc/mm/fault.c
@@ -151,6 +151,7 @@ int fixup_exception(struct pt_regs *regs)
struct exception_data *d;
d = this_cpu_ptr(&exception_data);
d->fault_ip = regs->iaoq[0];
+ d->fault_gp = regs->gr[27];
d->fault_space = regs->isr;
d->fault_addr = regs->ior;