diff options
Diffstat (limited to 'kernel/sys.c')
-rw-r--r-- | kernel/sys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sys.c b/kernel/sys.c index 14f8adcfffd9..449b81b98b3d 100644 --- a/kernel/sys.c +++ b/kernel/sys.c | |||
@@ -954,7 +954,7 @@ asmlinkage long sys_reboot(int magic1, int magic2, unsigned int cmd, void __user | |||
954 | unlock_kernel(); | 954 | unlock_kernel(); |
955 | return -EINVAL; | 955 | return -EINVAL; |
956 | 956 | ||
957 | #ifdef CONFIG_SOFTWARE_SUSPEND | 957 | #ifdef CONFIG_HIBERNATION |
958 | case LINUX_REBOOT_CMD_SW_SUSPEND: | 958 | case LINUX_REBOOT_CMD_SW_SUSPEND: |
959 | { | 959 | { |
960 | int ret = hibernate(); | 960 | int ret = hibernate(); |