diff options
author | Borislav Petkov <bp@suse.de> | 2017-12-11 06:54:44 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-12-11 08:47:16 -0500 |
commit | 03dd604e1d515ca1ab02aaae12162e0a077858e9 (patch) | |
tree | e8f874139e865f7cf64321879aecd0d48bcee02e | |
parent | 50c4c4e268a2d7a3e58ebb698ac74da0de40ae36 (diff) |
x86/apic: Remove local var in flat_send_IPI_allbutself()
No code changed:
# arch/x86/kernel/apic/apic_flat_64.o:
text data bss dec hex filename
1838 624 0 2462 99e apic_flat_64.o.before
1838 624 0 2462 99e apic_flat_64.o.after
md5:
aa2ae687d94bc4534f86ae6865dabd6a apic_flat_64.o.before.asm
42148da76ba8f9a236c33f8803bd2a6b apic_flat_64.o.after.asm
md5 sum is different due to asm output offsets changing.
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20171211115444.26577-1-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r-- | arch/x86/kernel/apic/apic_flat_64.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/x86/kernel/apic/apic_flat_64.c b/arch/x86/kernel/apic/apic_flat_64.c index aa85690e9b64..f58a49769bc6 100644 --- a/arch/x86/kernel/apic/apic_flat_64.c +++ b/arch/x86/kernel/apic/apic_flat_64.c | |||
@@ -84,12 +84,8 @@ flat_send_IPI_mask_allbutself(const struct cpumask *cpumask, int vector) | |||
84 | static void flat_send_IPI_allbutself(int vector) | 84 | static void flat_send_IPI_allbutself(int vector) |
85 | { | 85 | { |
86 | int cpu = smp_processor_id(); | 86 | int cpu = smp_processor_id(); |
87 | #ifdef CONFIG_HOTPLUG_CPU | 87 | |
88 | int hotplug = 1; | 88 | if (IS_ENABLED(CONFIG_HOTPLUG_CPU) || vector == NMI_VECTOR) { |
89 | #else | ||
90 | int hotplug = 0; | ||
91 | #endif | ||
92 | if (hotplug || vector == NMI_VECTOR) { | ||
93 | if (!cpumask_equal(cpu_online_mask, cpumask_of(cpu))) { | 89 | if (!cpumask_equal(cpu_online_mask, cpumask_of(cpu))) { |
94 | unsigned long mask = cpumask_bits(cpu_online_mask)[0]; | 90 | unsigned long mask = cpumask_bits(cpu_online_mask)[0]; |
95 | 91 | ||