1*9f97da78SDavid Howells #ifndef __ASM_ARM_SYSTEM_MISC_H 2*9f97da78SDavid Howells #define __ASM_ARM_SYSTEM_MISC_H 3*9f97da78SDavid Howells 4*9f97da78SDavid Howells #ifndef __ASSEMBLY__ 5*9f97da78SDavid Howells 6*9f97da78SDavid Howells #include <linux/compiler.h> 7*9f97da78SDavid Howells #include <linux/linkage.h> 8*9f97da78SDavid Howells #include <linux/irqflags.h> 9*9f97da78SDavid Howells 10*9f97da78SDavid Howells extern void cpu_init(void); 11*9f97da78SDavid Howells 12*9f97da78SDavid Howells void soft_restart(unsigned long); 13*9f97da78SDavid Howells extern void (*arm_pm_restart)(char str, const char *cmd); 14*9f97da78SDavid Howells 15*9f97da78SDavid Howells #define UDBG_UNDEFINED (1 << 0) 16*9f97da78SDavid Howells #define UDBG_SYSCALL (1 << 1) 17*9f97da78SDavid Howells #define UDBG_BADABORT (1 << 2) 18*9f97da78SDavid Howells #define UDBG_SEGV (1 << 3) 19*9f97da78SDavid Howells #define UDBG_BUS (1 << 4) 20*9f97da78SDavid Howells 21*9f97da78SDavid Howells extern unsigned int user_debug; 22*9f97da78SDavid Howells 23*9f97da78SDavid Howells extern void disable_hlt(void); 24*9f97da78SDavid Howells extern void enable_hlt(void); 25*9f97da78SDavid Howells 26*9f97da78SDavid Howells #endif /* !__ASSEMBLY__ */ 27*9f97da78SDavid Howells 28*9f97da78SDavid Howells #endif /* __ASM_ARM_SYSTEM_MISC_H */ 29