| 
									
										
										
										
											2008-10-22 22:26:29 -07:00
										 |  |  | #ifndef _ASM_X86_IDLE_H
 | 
					
						
							|  |  |  | #define _ASM_X86_IDLE_H
 | 
					
						
							| 
									
										
										
										
											2006-01-11 22:44:36 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | #define IDLE_START 1
 | 
					
						
							|  |  |  | #define IDLE_END 2
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | struct notifier_block; | 
					
						
							|  |  |  | void idle_notifier_register(struct notifier_block *n); | 
					
						
							| 
									
										
										
										
											2008-10-09 11:45:22 -07:00
										 |  |  | void idle_notifier_unregister(struct notifier_block *n); | 
					
						
							| 
									
										
										
										
											2006-01-11 22:44:36 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2008-12-08 19:19:07 -08:00
										 |  |  | #ifdef CONFIG_X86_64
 | 
					
						
							| 
									
										
										
										
											2006-01-11 22:44:36 +01:00
										 |  |  | void enter_idle(void); | 
					
						
							|  |  |  | void exit_idle(void); | 
					
						
							| 
									
										
										
										
											2008-12-08 19:19:07 -08:00
										 |  |  | #else /* !CONFIG_X86_64 */
 | 
					
						
							|  |  |  | static inline void enter_idle(void) { } | 
					
						
							|  |  |  | static inline void exit_idle(void) { } | 
					
						
							| 
									
										
										
										
											2012-03-25 23:00:04 +02:00
										 |  |  | static inline void __exit_idle(void) { } | 
					
						
							| 
									
										
										
										
											2008-12-08 19:19:07 -08:00
										 |  |  | #endif /* CONFIG_X86_64 */
 | 
					
						
							| 
									
										
										
										
											2006-01-11 22:44:36 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-04-01 16:59:53 -04:00
										 |  |  | void amd_e400_remove_cpu(int cpu); | 
					
						
							| 
									
										
										
										
											2008-09-22 18:54:29 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2008-10-22 22:26:29 -07:00
										 |  |  | #endif /* _ASM_X86_IDLE_H */
 |