]> git.ipfire.org Git - u-boot.git/blobdiff - cpu/pxa/interrupts.c
* Patch by Paul Ruhland, 17 May 2004:
[u-boot.git] / cpu / pxa / interrupts.c
index b161b746818ad1c5909c15456b940dae064c0266..8aec0b9dd6c27443a66f8b6ee181dbbf01bdb27b 100644 (file)
@@ -165,7 +165,7 @@ void reset_timer (void)
 
 ulong get_timer (ulong base)
 {
-       return get_timer_masked ();
+       return get_timer_masked () - base;
 }
 
 void set_timer (ulong t)