aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/mm/fault.c
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2017-04-02 16:51:58 +0200
committerHelge Deller <deller@gmx.de>2017-05-10 17:46:13 +0200
commitc3e5523fcffdc9df8faa7d66f5ad8c1c833e1795 (patch)
tree6b49b3c65028a1aab7e5cd07e0cc4072a729cf09 /arch/parisc/mm/fault.c
parentparisc: Inline trivial exception code in lusercopy.S (diff)
downloadlinux-dev-c3e5523fcffdc9df8faa7d66f5ad8c1c833e1795.tar.xz
linux-dev-c3e5523fcffdc9df8faa7d66f5ad8c1c833e1795.zip
parisc: Drop per_cpu uaccess related exception_data struct
The last users have been migrated off by commits d19f5e41b344 ("parisc: Clean up fixup routines for get_user()/put_user()") and 554bfeceb8a2 ("parisc: Fix access fault handling in pa_memcpy()"). Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to '')
-rw-r--r--arch/parisc/mm/fault.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/parisc/mm/fault.c b/arch/parisc/mm/fault.c
index 32ec22146141..fdc34cf4eb0e 100644
--- a/arch/parisc/mm/fault.c
+++ b/arch/parisc/mm/fault.c
@@ -29,8 +29,6 @@
#define BITSSET 0x1c0 /* for identifying LDCW */
-DEFINE_PER_CPU(struct exception_data, exception_data);
-
int show_unhandled_signals = 1;
/*
@@ -143,13 +141,6 @@ int fixup_exception(struct pt_regs *regs)
fix = search_exception_tables(regs->iaoq[0]);
if (fix) {
- 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;
-
/*
* Fix up get_user() and put_user().
* ASM_EXCEPTIONTABLE_ENTRY_EFAULT() sets the least-significant