diff options
author | Lei Yang <Lei.Yang@windriver.com> | 2018-09-05 17:57:15 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-10-18 09:13:20 +0200 |
commit | 7c73f0df4387d44545aec11c9d798396a9bd6929 (patch) | |
tree | dcf7d79572ed99f8993005875673b0691e021088 /tools | |
parent | b5be6fb6ad4dff080f342f2ab0d30522a80d9612 (diff) | |
download | linux-stable-7c73f0df4387d44545aec11c9d798396a9bd6929.tar.gz linux-stable-7c73f0df4387d44545aec11c9d798396a9bd6929.tar.bz2 linux-stable-7c73f0df4387d44545aec11c9d798396a9bd6929.zip |
selftests: memory-hotplug: add required configs
[ Upstream commit 4d85af102a66ee6aeefa596f273169e77fb2b48e ]
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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.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 |