diff options
author | Helge Deller <deller@gmx.de> | 2021-05-04 14:43:04 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2021-10-30 23:11:00 +0200 |
commit | a348eab32776ba1b1164eeb16f9fd5a3f646dde3 (patch) | |
tree | f6b0c210752bce965e543db3a05d428ac8d340bb /arch/parisc/mm | |
parent | parisc/unwind: use copy_from_kernel_nofault() (diff) | |
download | linux-a348eab32776ba1b1164eeb16f9fd5a3f646dde3.tar.xz linux-a348eab32776ba1b1164eeb16f9fd5a3f646dde3.zip |
parisc: make parisc_acctyp() available outside of faults.c
When adding kfence support, we need to tell kfence_handle_page_fault()
if the interrupted assembler statement is a read or write operation.
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/mm')
-rw-r--r-- | arch/parisc/mm/fault.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/mm/fault.c b/arch/parisc/mm/fault.c index 716960f5d92e..4a6221b869fd 100644 --- a/arch/parisc/mm/fault.c +++ b/arch/parisc/mm/fault.c @@ -48,7 +48,7 @@ int show_unhandled_signals = 1; * VM_WRITE if write operation * VM_EXEC if execute operation */ -static unsigned long +unsigned long parisc_acctyp(unsigned long code, unsigned int inst) { if (code == 6 || code == 16) |