x86/ioapic: Rename misnamed functions
authorThomas Gleixner <tglx@linutronix.de>
Thu, 17 Oct 2019 10:19:02 +0000 (12:19 +0200)
committerIngo Molnar <mingo@kernel.org>
Thu, 24 Oct 2019 10:09:21 +0000 (12:09 +0200)
commit2579a4eefc04d1c23eef8f3f0db3309f955e5792
treeecfffe4a0e99012b3f6da0cec757562a3d3b3aea
parentdf4393424af3fbdcd5c404077176082a8ce459c4
x86/ioapic: Rename misnamed functions

ioapic_irqd_[un]mask() are misnomers as both functions do way more than
masking and unmasking the interrupt line. Both deal with the moving the
affinity of the interrupt within interrupt context. The mask/unmask is just
a tiny part of the functionality.

Rename them to ioapic_prepare/finish_move(), fixup the call sites and
rename the related variables in the code to reflect what this is about.

No functional change.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Sebastian Siewior <bigeasy@linutronix.de>
Link: https://lkml.kernel.org/r/20191017101938.412489856@linutronix.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/apic/io_apic.c