# # Author: Robert Schwebel # # Description: ChangeLog: # * Patch by Robert Schwebel, 14 May 2004: # get_timer() is supposed to return the difference # between "now" and a "base". # # State: 2004-05-15: submitted # # # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher # --- u-boot-patches/cpu/pxa/interrupts.c~pxainterrupt 2003-12-07 23:18:41.000000000 +0100 +++ u-boot-patches/cpu/pxa/interrupts.c 2003-12-09 08:53:02.000000000 +0100 @@ -165,7 +165,7 @@ ulong get_timer (ulong base) { - return get_timer_masked (); + return get_timer_masked () - base; } void set_timer (ulong t)