20 lines
		
	
	
	
		
			371 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
		
		
			
		
	
	
			20 lines
		
	
	
	
		
			371 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
|   | #ifndef _ASM_M32R_BUGS_H
 | ||
|  | #define _ASM_M32R_BUGS_H
 | ||
|  | 
 | ||
|  | /*
 | ||
|  |  * This is included by init/main.c to check for architecture-dependent bugs. | ||
|  |  * | ||
|  |  * Needs: | ||
|  |  *     void check_bugs(void); | ||
|  |  */ | ||
|  | #include <asm/processor.h>
 | ||
|  | 
 | ||
|  | static void __init check_bugs(void) | ||
|  | { | ||
|  | 	extern unsigned long loops_per_jiffy; | ||
|  | 
 | ||
|  | 	current_cpu_data.loops_per_jiffy = loops_per_jiffy; | ||
|  | } | ||
|  | 
 | ||
|  | #endif  /* _ASM_M32R_BUGS_H */
 |