Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * Copyright (C) 2012 ARM Ltd.
0004  */
0005 #ifndef __ASM_TIMEX_H
0006 #define __ASM_TIMEX_H
0007 
0008 #include <asm/arch_timer.h>
0009 
0010 /*
0011  * Use the current timer as a cycle counter since this is what we use for
0012  * the delay loop.
0013  */
0014 #define get_cycles()    arch_timer_read_counter()
0015 
0016 #include <asm-generic/timex.h>
0017 
0018 #endif