diff options
author | Dou Liyang <[email protected]> | 2018-01-17 15:37:48 +0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-02-13 17:30:38 +0100 |
commit | ccf5355d05cd891522267f04b2723002e7f061de (patch) | |
tree | 37a5cc39dd9535f5de34b12d1a6cd204afdf38ab /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | afed7d172091040f38c75a2927fed170ea11585f (diff) |
x86/apic: Simplify init_bsp_APIC() usage
Since CONFIG_X86_64 selects CONFIG_X86_LOCAL_APIC, the following
condition:
#if defined(CONFIG_X86_64) || defined(CONFIG_X86_LOCAL_APIC)
is equivalent to:
#if defined(CONFIG_X86_LOCAL_APIC)
... and we can eliminate that #ifdef by providing an empty
init_bsp_APIC() stub in the !CONFIG_X86_LOCAL_APIC case.
Also add some comments to explain why we call init_bsp_APIC().
Signed-off-by: Dou Liyang <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions