summaryrefslogtreecommitdiffstats
path: root/arch/mips/lib/end.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/lib/end.S')
-rw-r--r--arch/mips/lib/end.S16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/mips/lib/end.S b/arch/mips/lib/end.S
new file mode 100644
index 0000000000..78bd15ec17
--- /dev/null
+++ b/arch/mips/lib/end.S
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/*
+ * Copyright (C) 2018 Oleksij Rempel <linux@rempel-privat.de>
+ */
+
+#include <asm/asm.h>
+#include <asm/regdef.h>
+
+ .text
+ .set noreorder
+LEAF(mips_dead_end)
+__error:
+ b __error;
+ nop;
+
+ END(mips_dead_end)