ARM64: /proc/interrupts: display IPIs of online CPUs only
authorSudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
Thu, 7 Nov 2013 15:25:44 +0000 (15:25 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 7 Nov 2013 17:26:54 +0000 (17:26 +0000)
commit67317c2689567c24d18e0dd43ab6d409fd42dc6e
treeb4cf7aa1bdf7c34a287b54e06d18e272d14ffe71
parent61c77e0802719efce8966619cdc4234de7f252c1
ARM64: /proc/interrupts: display IPIs of online CPUs only

The non-IPI interrupts are displayed only for the online cpus from
show_interrupts in kernel/irq/proc.c before calling arch_show_interrupts().
As a result, the column headers and the IPI count don't match if any
CPU is offline.

This patch fixes show_ipi_list to display IPIs for online CPUs only.

Signed-off-by: Sudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/smp.c