summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/apic.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2017-06-20 01:37:42 +0200
committerThomas Gleixner <tglx@linutronix.de>2017-06-22 18:21:21 +0200
commit52b166af40faec9813cd5ac26d6ba9adec2e3a9d (patch)
treeba7db235f86582734cc1f24659994d1ec0014368 /arch/x86/include/asm/apic.h
parentbbcf9574bc6fb85d22f2718d48da7f98830a7870 (diff)
downloadlinux-stable-52b166af40faec9813cd5ac26d6ba9adec2e3a9d.tar.gz
linux-stable-52b166af40faec9813cd5ac26d6ba9adec2e3a9d.tar.bz2
linux-stable-52b166af40faec9813cd5ac26d6ba9adec2e3a9d.zip
x86/apic: Move online masking to core code
All implementations of apic->cpu_mask_to_apicid_and() mask out the offline cpus. The callsite already has a mask available, which has the offline CPUs removed. Use that and remove the extra bits. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Jens Axboe <axboe@kernel.dk> Cc: Marc Zyngier <marc.zyngier@arm.com> Cc: Michael Ellerman <mpe@ellerman.id.au> Cc: Keith Busch <keith.busch@intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Christoph Hellwig <hch@lst.de> Link: http://lkml.kernel.org/r/20170619235446.560868224@linutronix.de
Diffstat (limited to 'arch/x86/include/asm/apic.h')
0 files changed, 0 insertions, 0 deletions