diff options
author | Lei Yang <Lei.Yang@windriver.com> | 2018-09-05 17:57:15 +0800 |
---|---|---|
committer | Shuah Khan (Samsung OSG) <shuah@kernel.org> | 2018-09-05 10:58:31 -0600 |
commit | 4d85af102a66ee6aeefa596f273169e77fb2b48e (patch) | |
tree | 66813b929be80ceea261b9d5a3c892079ff9927a /tools | |
parent | 53cf59d6c0ad3edc4f4449098706a8f8986258b6 (diff) | |
download | linux-4d85af102a66ee6aeefa596f273169e77fb2b48e.tar.gz linux-4d85af102a66ee6aeefa596f273169e77fb2b48e.tar.bz2 linux-4d85af102a66ee6aeefa596f273169e77fb2b48e.zip |
selftests: memory-hotplug: add required configs
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>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/testing/selftests/memory-hotplug/config | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/memory-hotplug/config b/tools/testing/selftests/memory-hotplug/config index 2fde30191a47..a7e8cd5bb265 100644 --- a/tools/testing/selftests/memory-hotplug/config +++ b/tools/testing/selftests/memory-hotplug/config @@ -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 |