OSDN Git Service

tile: use %*pb[l] to print bitmaps including cpumasks and nodemasks
authorTejun Heo <tj@kernel.org>
Fri, 13 Feb 2015 22:37:09 +0000 (14:37 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 14 Feb 2015 05:21:37 +0000 (21:21 -0800)
commit839b268033c5d1316b2f8cf49184984e6f335fee
treed8b42b5dbfdab5922c422207a2eaad757ac4b6b1
parent0c118b7bd09a1d11731ba80421a34ea1105c5b21
tile: use %*pb[l] to print bitmaps including cpumasks and nodemasks

printk and friends can now format bitmaps using '%*pb[l]'.  cpumask
and nodemask also provide cpumask_pr_args() and nodemask_pr_args()
respectively which can be used to generate the two printf arguments
necessary to format the specified cpu/nodemask.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Chris Metcalf <cmetcalf@tilera.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/tile/kernel/hardwall.c
arch/tile/kernel/proc.c
arch/tile/kernel/setup.c
arch/tile/mm/homecache.c
arch/tile/mm/init.c
drivers/net/ethernet/tile/tilegx.c
drivers/net/ethernet/tile/tilepro.c