diff options
author | Mike Travis <travis@sgi.com> | 2008-04-08 11:43:04 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-19 19:44:59 +0200 |
commit | 9d1fe3236a1d64ab687e16b4cbbaa1383352a2c1 (patch) | |
tree | 059cd312cbc2253fd1e00809a5a937ba45120b99 /init | |
parent | 39106dcf85285e78f3b290022122c76f851379b8 (diff) | |
download | linux-9d1fe3236a1d64ab687e16b4cbbaa1383352a2c1.tar.gz linux-9d1fe3236a1d64ab687e16b4cbbaa1383352a2c1.tar.bz2 linux-9d1fe3236a1d64ab687e16b4cbbaa1383352a2c1.zip |
cpumask: add show cpu map functions
* Add cpu_sysdev_class functions to display the following maps
with cpulist_scnprintf().
cpu_online_map
cpu_present_map
cpu_possible_map
* Small change to include/linux/sysdev.h to allow the attribute
name and label to be different (to avoid collision with the
"attr_online" entry for bringing cpus on- and off-line.)
Cc: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions