Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * linux/include/asm/timex.h
0004  *
0005  * sparc64 architecture timex specifications
0006  */
0007 #ifndef _ASMsparc64_TIMEX_H
0008 #define _ASMsparc64_TIMEX_H
0009 
0010 #include <asm/timer.h>
0011 
0012 #define CLOCK_TICK_RATE 1193180 /* Underlying HZ */
0013 
0014 /* Getting on the cycle counter on sparc64. */
0015 typedef unsigned long cycles_t;
0016 #define get_cycles()    tick_ops->get_tick()
0017 
0018 #define ARCH_HAS_READ_CURRENT_TIMER
0019 
0020 #endif