sched: fix the wrong mask_len
authorMiao Xie <miaox@cn.fujitsu.com>
Fri, 17 Oct 2008 10:17:46 +0000 (18:17 +0800)
committerIngo Molnar <mingo@elte.hu>
Fri, 17 Oct 2008 10:26:33 +0000 (12:26 +0200)
commitc851c8676bd7ae456e9b3af8e6bb2c434eddcc75
treec61f53ca5dae4290ddd73c1c62f98407f79afdb0
parent0f1f6dec9593c8319714c927dafb443548a1452a
sched: fix the wrong mask_len

If NR_CPUS isn't a multiple of 32, we get a truncated string of sched
domains by catting /proc/schedstat. This is caused by the wrong mask_len.

This patch fixes it.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Cc: <stable@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_stats.h