Disintegrate asm/system.h for ARM
[linux-2.6.git] / arch / arm / include / asm / system_misc.h
blob9e65b23be145ecf78854f2eca8355b33c542e1fd
1 #ifndef __ASM_ARM_SYSTEM_MISC_H
2 #define __ASM_ARM_SYSTEM_MISC_H
4 #ifndef __ASSEMBLY__
6 #include <linux/compiler.h>
7 #include <linux/linkage.h>
8 #include <linux/irqflags.h>
10 extern void cpu_init(void);
12 void soft_restart(unsigned long);
13 extern void (*arm_pm_restart)(char str, const char *cmd);
15 #define UDBG_UNDEFINED (1 << 0)
16 #define UDBG_SYSCALL (1 << 1)
17 #define UDBG_BADABORT (1 << 2)
18 #define UDBG_SEGV (1 << 3)
19 #define UDBG_BUS (1 << 4)
21 extern unsigned int user_debug;
23 extern void disable_hlt(void);
24 extern void enable_hlt(void);
26 #endif /* !__ASSEMBLY__ */
28 #endif /* __ASM_ARM_SYSTEM_MISC_H */