Commit c9b0864a authored by Linus Torvalds's avatar Linus Torvalds Committed by Linus Torvalds

Merge home:v2.5/linux into kiwi.transmeta.com:/home/torvalds/v2.5/linux

parents 28fb8067 06f240e0
...@@ -412,9 +412,10 @@ asmlinkage long sys_reboot(int magic1, int magic2, unsigned int cmd, void * arg) ...@@ -412,9 +412,10 @@ asmlinkage long sys_reboot(int magic1, int magic2, unsigned int cmd, void * arg)
#ifdef CONFIG_SOFTWARE_SUSPEND #ifdef CONFIG_SOFTWARE_SUSPEND
case LINUX_REBOOT_CMD_SW_SUSPEND: case LINUX_REBOOT_CMD_SW_SUSPEND:
if(!software_suspend_enabled) if (!software_suspend_enabled) {
unlock_kernel();
return -EAGAIN; return -EAGAIN;
}
software_suspend(); software_suspend();
do_exit(0); do_exit(0);
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment