diff options
author | Dou Liyang <[email protected]> | 2017-04-09 18:46:46 +0800 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2017-04-14 22:43:00 +0200 |
commit | 7b6e106276fcc803e397f9b1bd4c272055c7cf5a (patch) | |
tree | e76309d8cef2f835ee3282f8f57c47d4bb504429 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0f08c3b22996c91cff62c96cf4b3db88902e12a9 (diff) |
x86/smp: Remove the redundant #ifdef CONFIG_SMP directive
The !CONFIG_X86_LOCAL_APIC section in smp.h wraps the define of
hard_smp_processor_id() into #ifndef CONFIG_SMP. But Kconfig has:
config X86_LOCAL_APIC
def_bool y
depends on X86_64 || SMP || X86_32_NON_STANDARD ...
Therefore SMP can't be 'y' when X86_LOCAL_APIC == 'n'.
Remove the redundant #ifndef CONFIG_SMP.
[ tglx: Massaged changelog ]
Signed-off-by: Dou Liyang <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions