• Andrew Morton's avatar
    read_current_timer() cleanups · 941e492b
    Andrew Morton authored
    - 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: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    941e492b
timex.h 8.77 KB