mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-22 09:22:37 +00:00
941e492bdb
- 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>
20 lines
392 B
C
20 lines
392 B
C
/*
|
|
* linux/include/asm-sparc64/timex.h
|
|
*
|
|
* sparc64 architecture timex specifications
|
|
*/
|
|
#ifndef _ASMsparc64_TIMEX_H
|
|
#define _ASMsparc64_TIMEX_H
|
|
|
|
#include <asm/timer.h>
|
|
|
|
#define CLOCK_TICK_RATE 1193180 /* Underlying HZ */
|
|
|
|
/* Getting on the cycle counter on sparc64. */
|
|
typedef unsigned long cycles_t;
|
|
#define get_cycles() tick_ops->get_tick()
|
|
|
|
#define ARCH_HAS_READ_CURRENT_TIMER
|
|
|
|
#endif
|