]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit34bc6f3815797a3237709a44d0ef83d25d6680c1
treed8b42b5dbfdab5922c422207a2eaad757ac4b6b1
parentc77aae6caaa69fcd8ef98a96d5134626c8b28895
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