diff options
author | Jordan Crouse <jordan.crouse@amd.com> | 2008-05-06 21:32:52 +0000 |
---|---|---|
committer | Jordan Crouse <jordan.crouse@amd.com> | 2008-05-06 21:32:52 +0000 |
commit | 646ee3eae942880f254a6ce0726ffd0cd902c8f0 (patch) | |
tree | 7cb258c11a81bc833281ba5d6397a0ee7205463a /payloads/coreinfo/cpuinfo_module.c | |
parent | 9d9518ff54607f8576d45a8664bc9cf88981d6db (diff) | |
download | coreboot-646ee3eae942880f254a6ce0726ffd0cd902c8f0.tar.xz |
coreinfo: Move the rdtsc.h include into the #ifdef CONFIG_MODULE_CPUINFO
rdtsc.h shouldn't be included unless we really need it (and use it).
Trivial.
Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
Acked-by: Jordan Crouse <jordan.crouse@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3283 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/coreinfo/cpuinfo_module.c')
-rw-r--r-- | payloads/coreinfo/cpuinfo_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/coreinfo/cpuinfo_module.c b/payloads/coreinfo/cpuinfo_module.c index 8548a25069..7b6a3f1f42 100644 --- a/payloads/coreinfo/cpuinfo_module.c +++ b/payloads/coreinfo/cpuinfo_module.c @@ -21,9 +21,9 @@ */ #include "coreinfo.h" -#include <arch/rdtsc.h> #ifdef CONFIG_MODULE_CPUINFO +#include <arch/rdtsc.h> #define VENDOR_INTEL 0x756e6547 #define VENDOR_AMD 0x68747541 |