diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2007-10-23 22:17:45 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2007-10-23 22:17:45 +0000 |
commit | 0dff6e3fa95ea13f6ee6cb2d4277e83076d81bad (patch) | |
tree | aaf9a4fcab39c9dba0c4dc7457a79fc0d327cf4c /src/cpu/x86/tsc | |
parent | 643eee07541f10fcc3b34a56dc8bf2cf8d93c649 (diff) |
fix a whole bunch of warnings. (trivial)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2890 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/cpu/x86/tsc')
-rw-r--r-- | src/cpu/x86/tsc/delay_tsc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cpu/x86/tsc/delay_tsc.c b/src/cpu/x86/tsc/delay_tsc.c index eaf85d2c76..a791f7930e 100644 --- a/src/cpu/x86/tsc/delay_tsc.c +++ b/src/cpu/x86/tsc/delay_tsc.c @@ -102,8 +102,7 @@ bad_ctc: static unsigned long long calibrate_tsc(void) { unsigned long long start, end, delta; - unsigned long allones = (unsigned long) -1, result; - unsigned long count; + unsigned long result, count; start = rdtscll(); // no udivdi3, dammit. |