| 
									
										
										
										
											2019-06-04 08:11:33 +00:00
										 |  |  | /* SPDX-License-Identifier: GPL-2.0-only */ | 
					
						
							| 
									
										
										
										
											2005-04-16 22:20:36 +00:00
										 |  |  | /*
 | 
					
						
							| 
									
										
										
										
											2008-08-02 09:55:55 +00:00
										 |  |  |  *  arch/arm/include/asm/timex.h | 
					
						
							| 
									
										
										
										
											2005-04-16 22:20:36 +00:00
										 |  |  |  * | 
					
						
							|  |  |  |  *  Copyright (C) 1997,1998 Russell King | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  *  Architecture Specific TIME specifications | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | #ifndef _ASMARM_TIMEX_H
 | 
					
						
							|  |  |  | #define _ASMARM_TIMEX_H
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | typedef unsigned long cycles_t; | 
					
						
							| 
									
										
										
										
											2012-07-06 14:46:45 +00:00
										 |  |  | #define get_cycles()	({ cycles_t c; read_current_timer(&c) ? 0 : c; })
 | 
					
						
							| 
									
										
										
										
											2005-04-16 22:20:36 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | #endif
 |