diff options
| author | Kefeng Wang <[email protected]> | 2023-03-13 05:39:29 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-03-28 23:20:17 +0000 |
| commit | 611b9fd80fb53e79079744fb29d8c1363f4b5c02 (patch) | |
| tree | 7fa2498475c7a3204a8017d5c2401ea92774865c /mm/dmapool_test.c | |
| parent | mm: shrinkers: convert shrinker_rwsem to mutex (diff) | |
| download | kernel-611b9fd80fb53e79079744fb29d8c1363f4b5c02.tar.gz kernel-611b9fd80fb53e79079744fb29d8c1363f4b5c02.zip | |
mm: memory-failure: directly use IS_ENABLED(CONFIG_HWPOISON_INJECT)
It's more clear and simple to just use IS_ENABLED(CONFIG_HWPOISON_INJECT)
to check whether or not to enable HWPoison injector module instead of
CONFIG_HWPOISON_INJECT/CONFIG_HWPOISON_INJECT_MODULE.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Kefeng Wang <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Acked-by: Naoya Horiguchi <[email protected]>
Cc: Miaohe Lin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'mm/dmapool_test.c')
0 files changed, 0 insertions, 0 deletions
