]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
selftests: memory-hotplug: add required configs
authorLei Yang <Lei.Yang@windriver.com>
Wed, 5 Sep 2018 09:57:15 +0000 (17:57 +0800)
committerShuah Khan (Samsung OSG) <shuah@kernel.org>
Wed, 5 Sep 2018 16:58:31 +0000 (10:58 -0600)
add CONFIG_MEMORY_HOTREMOVE=y in config
without this config, /sys/devices/system/memory/memory*/removable
always return 0, I endup getting an early skip during test

Signed-off-by: Lei Yang <Lei.Yang@windriver.com>
Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
tools/testing/selftests/memory-hotplug/config

index 2fde30191a47e6251c4fc6477548d70a394269e1..a7e8cd5bb265d86cca85e91adc69043e18a3c13a 100644 (file)
@@ -2,3 +2,4 @@ CONFIG_MEMORY_HOTPLUG=y
 CONFIG_MEMORY_HOTPLUG_SPARSE=y
 CONFIG_NOTIFIER_ERROR_INJECTION=y
 CONFIG_MEMORY_NOTIFIER_ERROR_INJECT=m
+CONFIG_MEMORY_HOTREMOVE=y