mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 20:30:54 +07: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
483 B
C
20 lines
483 B
C
/* x86 architecture timex specifications */
|
|
#ifndef _ASM_X86_TIMEX_H
|
|
#define _ASM_X86_TIMEX_H
|
|
|
|
#include <asm/processor.h>
|
|
#include <asm/tsc.h>
|
|
|
|
#ifdef CONFIG_X86_ELAN
|
|
# define PIT_TICK_RATE 1189200 /* AMD Elan has different frequency! */
|
|
#elif defined(CONFIG_X86_RDC321X)
|
|
# define PIT_TICK_RATE 1041667 /* Underlying HZ for R8610 */
|
|
#else
|
|
# define PIT_TICK_RATE 1193182 /* Underlying HZ */
|
|
#endif
|
|
#define CLOCK_TICK_RATE PIT_TICK_RATE
|
|
|
|
#define ARCH_HAS_READ_CURRENT_TIMER
|
|
|
|
#endif
|