| 
									
										
										
										
											2012-03-28 18:30:01 +01:00
										 |  |  | #ifndef __ASM_ARM_SYSTEM_MISC_H
 | 
					
						
							|  |  |  | #define __ASM_ARM_SYSTEM_MISC_H
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #ifndef __ASSEMBLY__
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include <linux/compiler.h>
 | 
					
						
							|  |  |  | #include <linux/linkage.h>
 | 
					
						
							|  |  |  | #include <linux/irqflags.h>
 | 
					
						
							| 
									
										
										
										
											2013-07-08 16:01:40 -07:00
										 |  |  | #include <linux/reboot.h>
 | 
					
						
							| 
									
										
										
										
											2012-03-28 18:30:01 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | extern void cpu_init(void); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | void soft_restart(unsigned long); | 
					
						
							| 
									
										
										
										
											2013-07-08 16:01:40 -07:00
										 |  |  | extern void (*arm_pm_restart)(enum reboot_mode reboot_mode, const char *cmd); | 
					
						
							| 
									
										
										
										
											2012-03-28 15:58:21 -07:00
										 |  |  | extern void (*arm_pm_idle)(void); | 
					
						
							| 
									
										
										
										
											2012-03-28 18:30:01 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | #define UDBG_UNDEFINED	(1 << 0)
 | 
					
						
							|  |  |  | #define UDBG_SYSCALL	(1 << 1)
 | 
					
						
							|  |  |  | #define UDBG_BADABORT	(1 << 2)
 | 
					
						
							|  |  |  | #define UDBG_SEGV	(1 << 3)
 | 
					
						
							|  |  |  | #define UDBG_BUS	(1 << 4)
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | extern unsigned int user_debug; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #endif /* !__ASSEMBLY__ */
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #endif /* __ASM_ARM_SYSTEM_MISC_H */
 |