projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
profile: use %*pb[l] to print bitmaps including cpumasks and nodemasks
[firefly-linux-kernel-4.4.55.git]
/
kernel
/
profile.c
diff --git
a/kernel/profile.c
b/kernel/profile.c
index 54bf5ba264205e11a4cbe6d46ee6330193c0fa8f..a7bcd28d6e9f5861670cc029a62ebac61047a4dc 100644
(file)
--- a/
kernel/profile.c
+++ b/
kernel/profile.c
@@
-422,8
+422,7
@@
void profile_tick(int type)
static int prof_cpu_mask_proc_show(struct seq_file *m, void *v)
{
- seq_cpumask(m, prof_cpu_mask);
- seq_putc(m, '\n');
+ seq_printf(m, "%*pb\n", cpumask_pr_args(prof_cpu_mask));
return 0;
}