commit | a0c2e07d6d4fe6f67b057d0f1c961e70ff581eda | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Fri Feb 13 14:38:07 2015 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Fri Feb 13 21:21:38 2015 -0800 |
tree | c9a82a68d721fde6f7f4036e44ac8d2f3e0bf667 | |
parent | 4497da6f950951b8819cd827bbebb8f214e8ecbe [diff] |
proc: 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> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>