浏览代码

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>
Lei Yang 7 年之前
父节点
当前提交
4d85af102a
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      tools/testing/selftests/memory-hotplug/config

+ 1 - 0
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