Skip to content

Commit

Permalink
[PATCH] swsusp: kill config_pm_disk
Browse files Browse the repository at this point in the history
CONFIG_PM_DISK is long gone, but it still managed to survived at few
places.

Signed-off-by: Pavel Machek <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
pavelmachek authored and Linus Torvalds committed Jun 25, 2005
1 parent fc5fb2c commit 648be31
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion arch/i386/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ CONFIG_HAVE_DEC_LOCK=y
#
CONFIG_PM=y
CONFIG_SOFTWARE_SUSPEND=y
# CONFIG_PM_DISK is not set

#
# ACPI (Advanced Configuration and Power Interface) Support
Expand Down
2 changes: 1 addition & 1 deletion arch/i386/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ static void __init pagetable_init (void)
#endif
}

#if defined(CONFIG_PM_DISK) || defined(CONFIG_SOFTWARE_SUSPEND)
#ifdef CONFIG_SOFTWARE_SUSPEND
/*
* Swap suspend & friends need this for resume because things like the intel-agp
* driver might have split up a kernel 4MB mapping.
Expand Down
2 changes: 1 addition & 1 deletion mm/page_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ int swap_readpage(struct file *file, struct page *page)
return ret;
}

#if defined(CONFIG_SOFTWARE_SUSPEND) || defined(CONFIG_PM_DISK)
#ifdef CONFIG_SOFTWARE_SUSPEND
/*
* A scruffy utility function to read or write an arbitrary swap page
* and wait on the I/O. The caller must have a ref on the page.
Expand Down

0 comments on commit 648be31

Please sign in to comment.