diff options
author | 2024-11-12 07:23:47 +0000 | |
---|---|---|
committer | 2024-11-12 11:00:50 +0100 | |
commit | f74642d81c24d9e69745cd0b75e1bddc81827606 (patch) | |
tree | 6f32503938e6852bd4c688a294e8b14a38e2379e /scripts/lib/kdoc/kdoc_re.py | |
parent | x86/cpu: Fix FAM5_QUARK_X1000 to use X86_MATCH_VFM() (diff) | |
download | wireguard-linux-f74642d81c24d9e69745cd0b75e1bddc81827606.tar.xz wireguard-linux-f74642d81c24d9e69745cd0b75e1bddc81827606.zip |
x86/cpu: Remove redundant CONFIG_NUMA guard around numa_add_cpu()
Remove unnecessary CONFIG_NUMA #ifdef around numa_add_cpu() since the
function is already properly handled in <asm/numa.h> for both NUMA and
non-NUMA configurations. For !CONFIG_NUMA builds, numa_add_cpu() is
defined as an empty function.
Simplify the code without any functionality change.
Testing: Build CONFIG_NUMA=n
Signed-off-by: Shivank Garg <shivankg@amd.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20241112072346.428623-1-shivankg@amd.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions