From: Robert Schwebel Date: Sat, 15 May 2004 16:56:45 +0200 Subject: [U-Boot-Users] [PATCH] pxa-interrupt Message-ID: <20040515145645.GM27774@pengutronix.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de ChangeLog: * Patch by Robert Schwebel, 14 May 2004: get_timer() is supposed to return the difference between "now" and a "base". Robert -- Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Handelsregister: Amtsgericht Hildesheim, HRA 2686 Hornemannstra?e 12, 31137 Hildesheim, Germany Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4 -------------- next part -------------- # # 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)