diff options
author | Preeti U Murthy <preeti@linux.vnet.ibm.com> | 2015-04-28 14:15:20 +0530 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-05-05 10:35:58 +0200 |
commit | 1ef09cd713c90781b683a0b4e0a874803c172b1d (patch) | |
tree | 0e757c0c85429267b3961aa1f75be537fc517659 /drivers/clocksource | |
parent | 298dbd1c5cd66f0ac85981b83b7d519a5d88d1b8 (diff) | |
download | kernel_replicant_linux-1ef09cd713c90781b683a0b4e0a874803c172b1d.tar.gz kernel_replicant_linux-1ef09cd713c90781b683a0b4e0a874803c172b1d.tar.bz2 kernel_replicant_linux-1ef09cd713c90781b683a0b4e0a874803c172b1d.zip |
tick-broadcast: Fix the printing of broadcast masks
Today the number of bits of the broadcast masks that is output into
/proc/timer_list is sizeof(unsigned long). This means that on machines
with a larger number of CPUs, the bitmasks of CPUs beyond this range do
not appear.
Fix this by using bitmap printing through "%*pb" instead, so as to
output the broadcast masks for the range of nr_cpu_ids into
/proc/timer_list.
Signed-off-by: Preeti U Murthy <preeti@linux.vnet.ibm.com>
Cc: peterz@infradead.org
Cc: linuxppc-dev@ozlabs.org
Cc: john.stultz@linaro.org
Link: http://lkml.kernel.org/r/20150428084520.3314.62668.stgit@preeti.in.ibm.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/clocksource')
0 files changed, 0 insertions, 0 deletions