summaryrefslogtreecommitdiff
path: root/arch/mips/include
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>2021-03-10 15:15:47 +0100
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2021-03-10 15:15:47 +0100
commit87aaf2523cad65faeabd8564b6b39f9431f32879 (patch)
tree7cf283b1480799e9032048834bda7ca2624f046a /arch/mips/include
parent04100459caa98450cc0f4375f73d9643a31f454f (diff)
parentbd67b711bfaa02cf19e88aa2d9edae5c1c1d2739 (diff)
Merge tag 'mips-fixes_5.12_1' into mips-next
- fixes for boot breakage because of misaligned FDTs - fix for overwritten exception handlers - enable MIPS optimized crypto for all MIPS CPUs to improve wireguard performance
Diffstat (limited to 'arch/mips/include')
-rw-r--r--arch/mips/include/asm/traps.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/include/asm/traps.h b/arch/mips/include/asm/traps.h
index 6aa8f126a43d..b710e76c9c65 100644
--- a/arch/mips/include/asm/traps.h
+++ b/arch/mips/include/asm/traps.h
@@ -24,8 +24,11 @@ extern void (*board_ebase_setup)(void);
extern void (*board_cache_error_setup)(void);
extern int register_nmi_notifier(struct notifier_block *nb);
+extern void reserve_exception_space(phys_addr_t addr, unsigned long size);
extern char except_vec_nmi[];
+#define VECTORSPACING 0x100 /* for EI/VI mode */
+
#define nmi_notifier(fn, pri) \
({ \
static struct notifier_block fn##_nb = { \