diff options
author | David Howells <dhowells@redhat.com> | 2012-03-28 13:30:01 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2012-03-28 13:30:01 -0400 |
commit | 9f97da78bf018206fb623cd351d454af2f105fe0 (patch) | |
tree | 509971bf0d93f56d7ad182bdad3c89886f7ce675 /arch/arm/include/asm/system_misc.h | |
parent | 15d07dc9c59eae51219c40253bdf920f62bb10f2 (diff) |
Disintegrate asm/system.h for ARM
Disintegrate asm/system.h for ARM.
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Russell King <linux@arm.linux.org.uk>
cc: linux-arm-kernel@lists.infradead.org
Diffstat (limited to 'arch/arm/include/asm/system_misc.h')
-rw-r--r-- | arch/arm/include/asm/system_misc.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm/include/asm/system_misc.h b/arch/arm/include/asm/system_misc.h new file mode 100644 index 000000000000..9e65b23be145 --- /dev/null +++ b/arch/arm/include/asm/system_misc.h | |||
@@ -0,0 +1,28 @@ | |||
1 | #ifndef __ASM_ARM_SYSTEM_MISC_H | ||
2 | #define __ASM_ARM_SYSTEM_MISC_H | ||
3 | |||
4 | #ifndef __ASSEMBLY__ | ||
5 | |||
6 | #include <linux/compiler.h> | ||
7 | #include <linux/linkage.h> | ||
8 | #include <linux/irqflags.h> | ||
9 | |||
10 | extern void cpu_init(void); | ||
11 | |||
12 | void soft_restart(unsigned long); | ||
13 | extern void (*arm_pm_restart)(char str, const char *cmd); | ||
14 | |||
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) | ||
20 | |||
21 | extern unsigned int user_debug; | ||
22 | |||
23 | extern void disable_hlt(void); | ||
24 | extern void enable_hlt(void); | ||
25 | |||
26 | #endif /* !__ASSEMBLY__ */ | ||
27 | |||
28 | #endif /* __ASM_ARM_SYSTEM_MISC_H */ | ||