mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 03:46:51 +07:00
5c4f5264d5
CLOCK_TICK_RATE should give the underlying frequency of the tick timer, to make ntp happy. For Coldfires, that's the main clock. Signed-off-by: Philippe De Muyter <phdm@macqel.be> Signed-off-by: Greg Ungerer <gerg@uclinux.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
24 lines
402 B
C
24 lines
402 B
C
/*
|
|
* linux/include/asm-m68knommu/timex.h
|
|
*
|
|
* m68knommu architecture timex specifications
|
|
*/
|
|
#ifndef _ASM_M68KNOMMU_TIMEX_H
|
|
#define _ASM_M68KNOMMU_TIMEX_H
|
|
|
|
#ifdef CONFIG_COLDFIRE
|
|
#include <asm/coldfire.h>
|
|
#define CLOCK_TICK_RATE MCF_CLK
|
|
#else
|
|
#define CLOCK_TICK_RATE 1193180 /* Underlying HZ */
|
|
#endif
|
|
|
|
typedef unsigned long cycles_t;
|
|
|
|
static inline cycles_t get_cycles(void)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
#endif
|