summaryrefslogtreecommitdiffstats
path: root/arch/parisc/include/asm/traps.h
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2018-08-16 22:39:50 +0200
committerHelge Deller <deller@gmx.de>2018-08-17 16:45:24 +0200
commit5b00ca0b8035e49ef7c466e959c5cb457a654351 (patch)
tree960ff146c537f96aa4da21030960c7981bd86ae0 /arch/parisc/include/asm/traps.h
parentc8921d72e390cb6fca3fb2b0c2badfda851647eb (diff)
downloadlinux-5b00ca0b8035e49ef7c466e959c5cb457a654351.tar.bz2
parisc: Restore possibility to execute 64-bit applications
Executing 64-bit applications was broken. This patch restores this support and cleans up some code paths. Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/include/asm/traps.h')
-rw-r--r--arch/parisc/include/asm/traps.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/parisc/include/asm/traps.h b/arch/parisc/include/asm/traps.h
index e00013248907..8ecc1f0c0483 100644
--- a/arch/parisc/include/asm/traps.h
+++ b/arch/parisc/include/asm/traps.h
@@ -2,7 +2,9 @@
#ifndef __ASM_TRAPS_H
#define __ASM_TRAPS_H
-#ifdef __KERNEL__
+#define PARISC_ITLB_TRAP 6 /* defined by architecture. Do not change. */
+
+#if !defined(__ASSEMBLY__)
struct pt_regs;
/* traps.c */