read_current_timer() cleanups
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 6 Feb 2008 09:36:42 +0000 (01:36 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 6 Feb 2008 18:41:02 +0000 (10:41 -0800)
commit941e492bdb1239d2ca8f5736cdfd3ff83d00cb90
tree6c048ee92ec94cbced1881308e14c2541321f077
parent83bad1d764b836a482b88e0a1f44d7a5c3e1fee0
read_current_timer() cleanups

- All implementations can be __devinit

- The function prototypes were in asm/timex.h but they all must be the same,
  so create a single declaration in linux/timex.h.

- uninline the sparc64 version to match the other architectures

- Don't bother #defining ARCH_HAS_READ_CURRENT_TIMER to a particular value.

[ezk@cs.sunysb.edu: fix build]
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/avr32/lib/delay.c
arch/sparc64/kernel/time.c
arch/x86/lib/delay_32.c
arch/x86/lib/delay_64.c
include/asm-avr32/timex.h
include/asm-sparc64/timex.h
include/asm-x86/timex.h
include/linux/timex.h
init/calibrate.c