19f97da78SDavid Howells #ifndef __ASM_ARM_SYSTEM_MISC_H 29f97da78SDavid Howells #define __ASM_ARM_SYSTEM_MISC_H 39f97da78SDavid Howells 49f97da78SDavid Howells #ifndef __ASSEMBLY__ 59f97da78SDavid Howells 69f97da78SDavid Howells #include <linux/compiler.h> 79f97da78SDavid Howells #include <linux/linkage.h> 89f97da78SDavid Howells #include <linux/irqflags.h> 99f97da78SDavid Howells 109f97da78SDavid Howells extern void cpu_init(void); 119f97da78SDavid Howells 129f97da78SDavid Howells void soft_restart(unsigned long); 139f97da78SDavid Howells extern void (*arm_pm_restart)(char str, const char *cmd); 14*0195c002SLinus Torvalds extern void (*arm_pm_idle)(void); 159f97da78SDavid Howells 169f97da78SDavid Howells #define UDBG_UNDEFINED (1 << 0) 179f97da78SDavid Howells #define UDBG_SYSCALL (1 << 1) 189f97da78SDavid Howells #define UDBG_BADABORT (1 << 2) 199f97da78SDavid Howells #define UDBG_SEGV (1 << 3) 209f97da78SDavid Howells #define UDBG_BUS (1 << 4) 219f97da78SDavid Howells 229f97da78SDavid Howells extern unsigned int user_debug; 239f97da78SDavid Howells 249f97da78SDavid Howells extern void disable_hlt(void); 259f97da78SDavid Howells extern void enable_hlt(void); 269f97da78SDavid Howells 279f97da78SDavid Howells #endif /* !__ASSEMBLY__ */ 289f97da78SDavid Howells 299f97da78SDavid Howells #endif /* __ASM_ARM_SYSTEM_MISC_H */ 30