Commit d7a2e19f authored by Linus Torvalds's avatar Linus Torvalds

Make sw-suspend compile even without ACPI sleep support.

parent cc00cee0
...@@ -684,8 +684,10 @@ void __init setup_arch(char **cmdline_p) ...@@ -684,8 +684,10 @@ void __init setup_arch(char **cmdline_p)
drive_info = DRIVE_INFO; drive_info = DRIVE_INFO;
screen_info = SCREEN_INFO; screen_info = SCREEN_INFO;
apm_info.bios = APM_BIOS_INFO; apm_info.bios = APM_BIOS_INFO;
#ifdef CONFIG_ACPI_SLEEP
saved_videomode = VIDEO_MODE; saved_videomode = VIDEO_MODE;
printk("Video mode to be used for restore is %lx\n", saved_videomode); printk("Video mode to be used for restore is %lx\n", saved_videomode);
#endif
if( SYS_DESC_TABLE.length != 0 ) { if( SYS_DESC_TABLE.length != 0 ) {
MCA_bus = SYS_DESC_TABLE.table[3] &0x2; MCA_bus = SYS_DESC_TABLE.table[3] &0x2;
machine_id = SYS_DESC_TABLE.table[0]; machine_id = SYS_DESC_TABLE.table[0];
......
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