diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-07-18 17:19:30 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-07-25 12:02:21 -0700 |
commit | 238b706da1c6ebacc55986ac8668f3ede4621f2c (patch) | |
tree | e783783b364516eaa88e08a261ef7bc320db7355 /include/asm-i386/ist.h | |
parent | f77b1ab383c8745447a3385e25729b92f2ec58a4 (diff) | |
download | linux-238b706da1c6ebacc55986ac8668f3ede4621f2c.tar.gz linux-238b706da1c6ebacc55986ac8668f3ede4621f2c.tar.bz2 linux-238b706da1c6ebacc55986ac8668f3ede4621f2c.zip |
[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 @@ #ifdef __KERNEL__ +#include <linux/types.h> + struct ist_info { - unsigned long signature; - unsigned long command; - unsigned long event; - unsigned long perf_level; + u32 signature; + u32 command; + u32 event; + u32 perf_level; }; extern struct ist_info ist_info; |