diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-07-18 20:19:30 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-07-25 15:02:21 -0400 |
commit | 238b706da1c6ebacc55986ac8668f3ede4621f2c (patch) | |
tree | e783783b364516eaa88e08a261ef7bc320db7355 /include/asm-i386/ist.h | |
parent | f77b1ab383c8745447a3385e25729b92f2ec58a4 (diff) |
[x86 setup] Make struct ist_info cross-architecture, and use in setup code
Make "struct ist_info" valid on both i386 and x86-64, and use the
structure by name in the setup code. Additionally, "Intel SpeedStep
IST" is redundant, refer to it as IST consistently.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'include/asm-i386/ist.h')
-rw-r--r-- | include/asm-i386/ist.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/asm-i386/ist.h b/include/asm-i386/ist.h index d13d1e68afa9..ef2003ebc6f9 100644 --- a/include/asm-i386/ist.h +++ b/include/asm-i386/ist.h | |||
@@ -19,11 +19,13 @@ | |||
19 | 19 | ||
20 | #ifdef __KERNEL__ | 20 | #ifdef __KERNEL__ |
21 | 21 | ||
22 | #include <linux/types.h> | ||
23 | |||
22 | struct ist_info { | 24 | struct ist_info { |
23 | unsigned long signature; | 25 | u32 signature; |
24 | unsigned long command; | 26 | u32 command; |
25 | unsigned long event; | 27 | u32 event; |
26 | unsigned long perf_level; | 28 | u32 perf_level; |
27 | }; | 29 | }; |
28 | 30 | ||
29 | extern struct ist_info ist_info; | 31 | extern struct ist_info ist_info; |