aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-generic/emergency-restart.h
blob: 0d2f6fdea354c428fc70f828637ee952c42b844d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef _ASM_GENERIC_EMERGENCY_RESTART_H
#define _ASM_GENERIC_EMERGENCY_RESTART_H

static inline void machine_emergency_restart(void)
{
#ifdef CONFIG_ANDROID_WIP
	machine_restart("emergency");
#else
	machine_restart(NULL);
#endif
}

#endif /* _ASM_GENERIC_EMERGENCY_RESTART_H */