linux/arch/arm
Atsushi Nemoto 3171a0305d [PATCH] simplify update_times (avoid jiffies/jiffies_64 aliasing problem)
Pass ticks to do_timer() and update_times(), and adjust x86_64 and s390
timer interrupt handler with this change.

Currently update_times() calculates ticks by "jiffies - wall_jiffies", but
callers of do_timer() should know how many ticks to update.  Passing ticks
get rid of this redundant calculation.  Also there are another redundancy
pointed out by Martin Schwidefsky.

This cleanup make a barrier added by
5aee405c66 needless.  So this patch removes
it.

As a bonus, this cleanup make wall_jiffies can be removed easily, since now
wall_jiffies is always synced with jiffies.  (This patch does not really
remove wall_jiffies.  It would be another cleanup patch)

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: john stultz <johnstul@us.ibm.com>
Cc: Andi Kleen <ak@muc.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Acked-by: Russell King <rmk@arm.linux.org.uk>
Cc: Ian Molton <spyro@f2s.com>
Cc: Mikael Starvik <starvik@axis.com>
Acked-by: David Howells <dhowells@redhat.com>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Hirokazu Takata <takata.hirokazu@renesas.com>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Cc: Kyle McMartin <kyle@mcmartin.ca>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
Cc: Richard Curnow <rc@rc0.org.uk>
Cc: William Lee Irwin III <wli@holomorphy.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Miles Bader <uclinux-v850@lsi.nec.co.jp>
Cc: Chris Zankel <chris@zankel.net>
Acked-by: "Luck, Tony" <tony.luck@intel.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-09-29 09:18:15 -07:00
..
boot [ARM] nommu: manage the CP15 things 2006-09-27 17:34:30 +01:00
common [ARM] Off-by-one in arch/arm/common/icst* 2006-09-27 23:17:54 +01:00
configs [ARM] 3851/1: iop3xx: add io-data glantank support 2006-09-25 10:34:02 +01:00
kernel [PATCH] simplify update_times (avoid jiffies/jiffies_64 aliasing problem) 2006-09-29 09:18:15 -07:00
lib
mach-aaec2000
mach-at91rm9200 [ARM] 3870/1: AT91: Start removing static memory mappings 2006-09-28 18:11:22 +01:00
mach-clps711x
mach-clps7500
mach-ebsa110
mach-ep93xx [ARM] 3811/1: ep93xx: add cirrus logic edb9312 support 2006-09-25 10:25:25 +01:00
mach-footbridge [ARM] 3759/2: Remove uses of %? 2006-09-20 14:58:35 +01:00
mach-h720x
mach-imx
mach-integrator [ARM] Add Integrator support for glibc outb() and friends 2006-08-28 12:47:05 +01:00
mach-iop32x [ARM] 3851/1: iop3xx: add io-data glantank support 2006-09-25 10:34:02 +01:00
mach-iop33x [ARM] 3832/1: iop3xx: coding style cleanup 2006-09-25 10:25:53 +01:00
mach-ixp4xx [ARM] 3856/1: Add clocksource for Intel IXP4xx platforms 2006-09-28 20:59:25 +01:00
mach-ixp23xx
mach-ixp2000
mach-l7200
mach-lh7a40x
mach-netx
mach-omap1 [PATCH] OMAP: Update OMAP1/2 boards to give keymapsize and other pdata 2006-09-29 09:18:07 -07:00
mach-omap2 [PATCH] OMAP: Update OMAP1/2 boards to give keymapsize and other pdata 2006-09-29 09:18:07 -07:00
mach-pnx4008
mach-pxa USB: pxa2xx_udc understands GPIO based VBUS sensing 2006-09-27 11:58:48 -07:00
mach-realview
mach-rpc
mach-s3c2410 [ARM] 3873/1: S3C24XX: Add irq_chip names 2006-09-28 20:55:23 +01:00
mach-sa1100 [ARM] 3847/2: Convert LOMOMO to use struct device for GPIOs 2006-09-27 20:58:59 +01:00
mach-shark
mach-versatile [ARM] 3860/1: Versatile PCI config byte accesses 2006-09-27 09:35:07 +01:00
mm [PATCH] pidspace: is_init() 2006-09-29 09:18:12 -07:00
nwfpe
oprofile [ARM] 3832/1: iop3xx: coding style cleanup 2006-09-25 10:25:53 +01:00
plat-iop [ARM] 3832/1: iop3xx: coding style cleanup 2006-09-25 10:25:53 +01:00
plat-omap Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm 2006-09-28 14:40:39 -07:00
tools [ARM] Update mach-types 2006-09-25 10:32:32 +01:00
vfp [ARM] Cleanups for 4cc9bd2eaa 2006-09-25 10:34:59 +01:00
Kconfig Merge nommu branch 2006-09-28 22:20:39 +01:00
Kconfig-nommu [ARM] nommu: manage the CP15 things 2006-09-27 17:34:30 +01:00
Kconfig.debug
Makefile [ARM] nommu: add ARM946E-S core support 2006-09-27 17:39:19 +01:00