diff options
author | Russell King <rmk@arm.linux.org.uk> | 2016-03-14 22:29:08 +0000 |
---|---|---|
committer | Russell King <rmk@arm.linux.org.uk> | 2018-03-20 14:58:05 +0000 |
commit | 7c78356e8f45ded79ceb9625e4990f61298113ba (patch) | |
tree | 5df6b4b1c1e39431892b716916711c77544d7c9e /kexec/kexec.c | |
parent | f57f0bf8975d24fe1e7c4936fdfb5c3b123ab75f (diff) |
remaining TI changesti-keystone2
Diffstat (limited to 'kexec/kexec.c')
-rw-r--r-- | kexec/kexec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kexec/kexec.c b/kexec/kexec.c index cfd837c..2c696c6 100644 --- a/kexec/kexec.c +++ b/kexec/kexec.c @@ -883,10 +883,12 @@ static int my_shutdown(void) */ static int my_exec(void) { +if (1) { if (xen_present()) xen_kexec_exec(); else reboot(LINUX_REBOOT_CMD_KEXEC); +} /* I have failed if I make it here */ fprintf(stderr, "kexec failed: %s\n", strerror(errno)); |