Merge tag 'for-linus-4.13-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...
[muen/linux.git] / drivers / xen / manage.c
index 60cf71f1b2562893e83b223470d0e2e47fab55fb..c425d03d37d2700de084b920416fef0465d918f8 100644 (file)
@@ -190,6 +190,7 @@ static void do_poweroff(void)
 {
        switch (system_state) {
        case SYSTEM_BOOTING:
 {
        switch (system_state) {
        case SYSTEM_BOOTING:
+       case SYSTEM_SCHEDULING:
                orderly_poweroff(true);
                break;
        case SYSTEM_RUNNING:
                orderly_poweroff(true);
                break;
        case SYSTEM_RUNNING: