]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - kernel/reboot.c
switchdev: respect SKIP_EOPNOTSUPP flag in case there is no recursion
[karo-tx-linux.git] / kernel / reboot.c
index d20c85d9f8c0d71df00a2ac7297d4ace5ed18323..bd30a973fe946b03916a1eeb873928adfe1b32b0 100644 (file)
@@ -346,7 +346,7 @@ SYSCALL_DEFINE4(reboot, int, magic1, int, magic2, unsigned int, cmd,
                kernel_restart(buffer);
                break;
 
-#ifdef CONFIG_KEXEC
+#ifdef CONFIG_KEXEC_CORE
        case LINUX_REBOOT_CMD_KEXEC:
                ret = kernel_kexec();
                break;