diff options
author | Tony Luck <tony.luck@intel.com> | 2006-06-05 16:54:14 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2006-06-05 16:54:14 -0400 |
commit | 76d08bb3f09054edc45326ce5c698a3f6c45f5d0 (patch) | |
tree | 5d0197f8ad8e4f778d6f117bcf49f9467fcdc0dd /include/asm-ia64/processor.h | |
parent | 672c6108a51bf559d19595d9f8193dfd81f0f752 (diff) |
[IA64] Add "model name" to /proc/cpuinfo
Linux ia64 port tried to decode the processor family number
to something human-readable, but Intel brandnames don't change
synchronously with updates to the family number. Adopt a more
i386-like approach and just print the family number in decimal.
Add a new field "model name" that uses PAL_BRAND_INFO to find
the official name for the cpu, or on older systems, falls back
to using the well-known codenames (Merced, McKinley, Madison).
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'include/asm-ia64/processor.h')
-rw-r--r-- | include/asm-ia64/processor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-ia64/processor.h b/include/asm-ia64/processor.h index b3bd58e80690..03100c4272c6 100644 --- a/include/asm-ia64/processor.h +++ b/include/asm-ia64/processor.h | |||
@@ -164,6 +164,7 @@ struct cpuinfo_ia64 { | |||
164 | __u8 family; | 164 | __u8 family; |
165 | __u8 archrev; | 165 | __u8 archrev; |
166 | char vendor[16]; | 166 | char vendor[16]; |
167 | char *model_name; | ||
167 | 168 | ||
168 | #ifdef CONFIG_NUMA | 169 | #ifdef CONFIG_NUMA |
169 | struct ia64_node_data *node_data; | 170 | struct ia64_node_data *node_data; |