summaryrefslogtreecommitdiff
path: root/include/asm-generic/emergency-restart.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-generic/emergency-restart.h')
-rw-r--r--include/asm-generic/emergency-restart.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asm-generic/emergency-restart.h b/include/asm-generic/emergency-restart.h
new file mode 100644
index 000000000..0d68a1eae
--- /dev/null
+++ b/include/asm-generic/emergency-restart.h
@@ -0,0 +1,9 @@
+#ifndef _ASM_GENERIC_EMERGENCY_RESTART_H
+#define _ASM_GENERIC_EMERGENCY_RESTART_H
+
+static inline void machine_emergency_restart(void)
+{
+ machine_restart(NULL);
+}
+
+#endif /* _ASM_GENERIC_EMERGENCY_RESTART_H */