diff options
author | Helge Deller <deller@gmx.de> | 2021-05-04 15:43:04 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2021-10-31 00:11:00 +0300 |
commit | a348eab32776ba1b1164eeb16f9fd5a3f646dde3 (patch) | |
tree | f6b0c210752bce965e543db3a05d428ac8d340bb /arch/parisc/include | |
parent | cf2ec7893f876f4c30aed8a76bb4ebacdce74dd3 (diff) | |
download | linux-a348eab32776ba1b1164eeb16f9fd5a3f646dde3.tar.xz |
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/include')
-rw-r--r-- | arch/parisc/include/asm/traps.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/parisc/include/asm/traps.h b/arch/parisc/include/asm/traps.h index 8ecc1f0c0483..34619f010c63 100644 --- a/arch/parisc/include/asm/traps.h +++ b/arch/parisc/include/asm/traps.h @@ -14,6 +14,7 @@ void parisc_terminate(char *msg, struct pt_regs *regs, void die_if_kernel(char *str, struct pt_regs *regs, long err); /* mm/fault.c */ +unsigned long parisc_acctyp(unsigned long code, unsigned int inst); const char *trap_name(unsigned long code); void do_page_fault(struct pt_regs *regs, unsigned long code, unsigned long address); |