summaryrefslogtreecommitdiffstats
path: root/arch/mips/sgi/kernel/reset.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/sgi/kernel/reset.c')
-rw-r--r--arch/mips/sgi/kernel/reset.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/mips/sgi/kernel/reset.c b/arch/mips/sgi/kernel/reset.c
new file mode 100644
index 000000000..4e7455952
--- /dev/null
+++ b/arch/mips/sgi/kernel/reset.c
@@ -0,0 +1,14 @@
+/*
+ * linux/arch/mips/sgi/kernel/process.c
+ *
+ * Reset a SGI.
+ */
+#include <asm/io.h>
+#include <asm/system.h>
+
+void
+sgi_hard_reset_now(void)
+{
+ for(;;)
+ prom_imode();
+}