diff options
author | Arnd Bergmann <[email protected]> | 2017-08-11 13:19:11 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-08-11 14:58:34 +0200 |
commit | aac64f7de999d5a7fff55f49434fdd87df919829 (patch) | |
tree | 04cb28c44f45f4dff2b195bb665118197b20e808 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2b83809a5e6d619a780876fcaf68cdc42b50d28c (diff) |
x86/cpu/amd: Hide unused legacy_fixup_core_id() function
The newly introduced function is only used when CONFIG_SMP is set:
arch/x86/kernel/cpu/amd.c:305:13: warning: 'legacy_fixup_core_id' defined but not used
This moves the existing #ifdef around the caller so it covers
legacy_fixup_core_id() as well.
Signed-off-by: Arnd Bergmann <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Emanuel Czirai <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Suravee Suthikulpanit <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Tom Lendacky <[email protected]>
Cc: Yazen Ghannam <[email protected]>
Fixes: b89b41d0b841 ("x86/cpu/amd: Limit cpu_core_id fixup to families older than F17h")
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions