summaryrefslogtreecommitdiffstats
path: root/arch/parisc/mm
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2021-05-04 14:43:04 +0200
committerHelge Deller <deller@gmx.de>2021-10-30 23:11:00 +0200
commita348eab32776ba1b1164eeb16f9fd5a3f646dde3 (patch)
treef6b0c210752bce965e543db3a05d428ac8d340bb /arch/parisc/mm
parentparisc/unwind: use copy_from_kernel_nofault() (diff)
downloadlinux-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.c2
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)