mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-09-18 22:14:16 +00:00 
			
		
		
		
	 b3545192e2
			
		
	
	
		b3545192e2
		
	
	
	
	
		
			
			We want to remove the #include <asm/io.h> from <asm/smp.h>, but for this we have to move the XTP bits into a separate header first (as these bits rely on <asm/io.h> definitions), and include them in the .c files that rely on those APIs. Co-developed-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Ingo Molnar <mingo@kernel.org>
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			374 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			374 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* SPDX-License-Identifier: GPL-2.0 */
 | |
| /*
 | |
|  * linux/include/asm-parisc/timex.h
 | |
|  *
 | |
|  * PARISC architecture timex specifications
 | |
|  */
 | |
| #ifndef _ASMPARISC_TIMEX_H
 | |
| #define _ASMPARISC_TIMEX_H
 | |
| 
 | |
| #include <asm/special_insns.h>
 | |
| 
 | |
| #define CLOCK_TICK_RATE	1193180 /* Underlying HZ */
 | |
| 
 | |
| typedef unsigned long cycles_t;
 | |
| 
 | |
| static inline cycles_t get_cycles (void)
 | |
| {
 | |
| 	return mfctl(16);
 | |
| }
 | |
| 
 | |
| #endif
 |