diff --git a/kernel/profile.c b/kernel/profile.c index 54bf5ba264205e11a4cbe6d46ee6330193c0fa8f..a7bcd28d6e9f5861670cc029a62ebac61047a4dc 100644 --- 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; }