summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@parallels.com>2013-04-18 09:47:16 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2013-04-23 17:18:01 +1000
commitdc0fb082f15d05c48d595e9111150f047815270f (patch)
tree0a0b8436a678b162fddd1495ba1b0be65644669e /mm
parent66bac43a6f7a88b0b330e51132f7c9a046e57343 (diff)
mem-soft-dirty: Reshuffle CONFIG_ options to be more Arch-friendly
As Stephen Rothwell pointed out, config options, that depend on architecture support, are better to be wrapped into a select + depends on scheme. Do this for CONFIG_MEM_SOFT_DIRTY, as it currently works only for X86. Signed-off-by: Pavel Emelyanov <xemul@parallels.com> Acked-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/Kconfig b/mm/Kconfig
index 147689ebf1bc..7deac661a418 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -474,7 +474,7 @@ config FRONTSWAP
config MEM_SOFT_DIRTY
bool "Track memory changes"
- depends on CHECKPOINT_RESTORE && X86
+ depends on CHECKPOINT_RESTORE && HAVE_ARCH_SOFT_DIRTY
select PROC_PAGE_MONITOR
help
This option enables memory changes tracking by introducing a