aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/processor_32.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/include/asm/processor_32.h')
-rw-r--r--arch/sh/include/asm/processor_32.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/sh/include/asm/processor_32.h b/arch/sh/include/asm/processor_32.h
index 9a8714945dc9..f4b54040dbc3 100644
--- a/arch/sh/include/asm/processor_32.h
+++ b/arch/sh/include/asm/processor_32.h
@@ -14,6 +14,7 @@
14#include <asm/page.h> 14#include <asm/page.h>
15#include <asm/types.h> 15#include <asm/types.h>
16#include <asm/ptrace.h> 16#include <asm/ptrace.h>
17#include <asm/ubc.h>
17 18
18/* 19/*
19 * Default implementation of macro that returns current 20 * Default implementation of macro that returns current
@@ -99,8 +100,8 @@ struct thread_struct {
99 unsigned long sp; 100 unsigned long sp;
100 unsigned long pc; 101 unsigned long pc;
101 102
102 /* Hardware debugging registers */ 103 /* Save middle states of ptrace breakpoints */
103 unsigned long ubc_pc; 104 struct perf_event *ptrace_bps[NR_UBC_CHANNELS];
104 105
105 /* floating point info */ 106 /* floating point info */
106 union sh_fpu_union fpu; 107 union sh_fpu_union fpu;
@@ -111,9 +112,6 @@ struct thread_struct {
111#endif 112#endif
112}; 113};
113 114
114/* Count of active tasks with UBC settings */
115extern int ubc_usercnt;
116
117#define INIT_THREAD { \ 115#define INIT_THREAD { \
118 .sp = sizeof(init_stack) + (long) &init_stack, \ 116 .sp = sizeof(init_stack) + (long) &init_stack, \
119} 117}