diff options
Diffstat (limited to 'include/asm-generic')
-rw-r--r-- | include/asm-generic/emergency-restart.h | 9 | ||||
-rw-r--r-- | include/asm-generic/sections.h | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/asm-generic/emergency-restart.h b/include/asm-generic/emergency-restart.h new file mode 100644 index 000000000000..0d68a1eae985 --- /dev/null +++ b/include/asm-generic/emergency-restart.h | |||
@@ -0,0 +1,9 @@ | |||
1 | #ifndef _ASM_GENERIC_EMERGENCY_RESTART_H | ||
2 | #define _ASM_GENERIC_EMERGENCY_RESTART_H | ||
3 | |||
4 | static inline void machine_emergency_restart(void) | ||
5 | { | ||
6 | machine_restart(NULL); | ||
7 | } | ||
8 | |||
9 | #endif /* _ASM_GENERIC_EMERGENCY_RESTART_H */ | ||
diff --git a/include/asm-generic/sections.h b/include/asm-generic/sections.h index 195ccdc069e6..450eae22c39a 100644 --- a/include/asm-generic/sections.h +++ b/include/asm-generic/sections.h | |||
@@ -11,5 +11,6 @@ extern char _sinittext[], _einittext[]; | |||
11 | extern char _sextratext[] __attribute__((weak)); | 11 | extern char _sextratext[] __attribute__((weak)); |
12 | extern char _eextratext[] __attribute__((weak)); | 12 | extern char _eextratext[] __attribute__((weak)); |
13 | extern char _end[]; | 13 | extern char _end[]; |
14 | extern char __per_cpu_start[], __per_cpu_end[]; | ||
14 | 15 | ||
15 | #endif /* _ASM_GENERIC_SECTIONS_H_ */ | 16 | #endif /* _ASM_GENERIC_SECTIONS_H_ */ |