summaryrefslogtreecommitdiff
path: root/src/cpu/x86/tsc
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2007-10-23 22:17:45 +0000
committerStefan Reinauer <stepan@openbios.org>2007-10-23 22:17:45 +0000
commit0dff6e3fa95ea13f6ee6cb2d4277e83076d81bad (patch)
treeaaf9a4fcab39c9dba0c4dc7457a79fc0d327cf4c /src/cpu/x86/tsc
parent643eee07541f10fcc3b34a56dc8bf2cf8d93c649 (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.c3
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.