diff options
Diffstat (limited to 'arch/arm/include/asm/processor.h')
| -rw-r--r-- | arch/arm/include/asm/processor.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/arch/arm/include/asm/processor.h b/arch/arm/include/asm/processor.h index 67357baaeeeb..b2d9df5667af 100644 --- a/arch/arm/include/asm/processor.h +++ b/arch/arm/include/asm/processor.h | |||
| @@ -29,19 +29,7 @@ | |||
| 29 | #define STACK_TOP_MAX TASK_SIZE | 29 | #define STACK_TOP_MAX TASK_SIZE |
| 30 | #endif | 30 | #endif |
| 31 | 31 | ||
| 32 | union debug_insn { | ||
| 33 | u32 arm; | ||
| 34 | u16 thumb; | ||
| 35 | }; | ||
| 36 | |||
| 37 | struct debug_entry { | ||
| 38 | u32 address; | ||
| 39 | union debug_insn insn; | ||
| 40 | }; | ||
| 41 | |||
| 42 | struct debug_info { | 32 | struct debug_info { |
| 43 | int nsaved; | ||
| 44 | struct debug_entry bp[2]; | ||
| 45 | #ifdef CONFIG_HAVE_HW_BREAKPOINT | 33 | #ifdef CONFIG_HAVE_HW_BREAKPOINT |
| 46 | struct perf_event *hbp[ARM_MAX_HBP_SLOTS]; | 34 | struct perf_event *hbp[ARM_MAX_HBP_SLOTS]; |
| 47 | #endif | 35 | #endif |
| @@ -95,7 +83,7 @@ extern void release_thread(struct task_struct *); | |||
| 95 | 83 | ||
| 96 | unsigned long get_wchan(struct task_struct *p); | 84 | unsigned long get_wchan(struct task_struct *p); |
| 97 | 85 | ||
| 98 | #if __LINUX_ARM_ARCH__ == 6 | 86 | #if __LINUX_ARM_ARCH__ == 6 || defined(CONFIG_ARM_ERRATA_754327) |
| 99 | #define cpu_relax() smp_mb() | 87 | #define cpu_relax() smp_mb() |
| 100 | #else | 88 | #else |
| 101 | #define cpu_relax() barrier() | 89 | #define cpu_relax() barrier() |
