diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-01-08 19:48:01 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-03-09 00:30:48 -0500 |
commit | 8d0177dbcbad26ffd451b607c8fa74295d81e7b9 (patch) | |
tree | 236900697904371054e4d55356b30a392602cb91 /arch/blackfin/kernel | |
parent | 48a74f9d1b381471397097851531c4e392f97451 (diff) |
Blackfin: kgdb: mark all local funcs/structs static
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/kernel')
-rw-r--r-- | arch/blackfin/kernel/kgdb.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/blackfin/kernel/kgdb.c b/arch/blackfin/kernel/kgdb.c index 34c7c3ed2c9c..2c501ceb1e55 100644 --- a/arch/blackfin/kernel/kgdb.c +++ b/arch/blackfin/kernel/kgdb.c | |||
@@ -145,7 +145,7 @@ void gdb_regs_to_pt_regs(unsigned long *gdb_regs, struct pt_regs *regs) | |||
145 | #endif | 145 | #endif |
146 | } | 146 | } |
147 | 147 | ||
148 | struct hw_breakpoint { | 148 | static struct hw_breakpoint { |
149 | unsigned int occupied:1; | 149 | unsigned int occupied:1; |
150 | unsigned int skip:1; | 150 | unsigned int skip:1; |
151 | unsigned int enabled:1; | 151 | unsigned int enabled:1; |
@@ -155,7 +155,7 @@ struct hw_breakpoint { | |||
155 | unsigned int addr; | 155 | unsigned int addr; |
156 | } breakinfo[HW_WATCHPOINT_NUM]; | 156 | } breakinfo[HW_WATCHPOINT_NUM]; |
157 | 157 | ||
158 | int bfin_set_hw_break(unsigned long addr, int len, enum kgdb_bptype type) | 158 | static int bfin_set_hw_break(unsigned long addr, int len, enum kgdb_bptype type) |
159 | { | 159 | { |
160 | int breakno; | 160 | int breakno; |
161 | int bfin_type; | 161 | int bfin_type; |
@@ -202,7 +202,7 @@ int bfin_set_hw_break(unsigned long addr, int len, enum kgdb_bptype type) | |||
202 | return -ENOSPC; | 202 | return -ENOSPC; |
203 | } | 203 | } |
204 | 204 | ||
205 | int bfin_remove_hw_break(unsigned long addr, int len, enum kgdb_bptype type) | 205 | static int bfin_remove_hw_break(unsigned long addr, int len, enum kgdb_bptype type) |
206 | { | 206 | { |
207 | int breakno; | 207 | int breakno; |
208 | int bfin_type; | 208 | int bfin_type; |
@@ -230,7 +230,7 @@ int bfin_remove_hw_break(unsigned long addr, int len, enum kgdb_bptype type) | |||
230 | return 0; | 230 | return 0; |
231 | } | 231 | } |
232 | 232 | ||
233 | void bfin_remove_all_hw_break(void) | 233 | static void bfin_remove_all_hw_break(void) |
234 | { | 234 | { |
235 | int breakno; | 235 | int breakno; |
236 | 236 | ||
@@ -242,7 +242,7 @@ void bfin_remove_all_hw_break(void) | |||
242 | breakinfo[breakno].type = TYPE_DATA_WATCHPOINT; | 242 | breakinfo[breakno].type = TYPE_DATA_WATCHPOINT; |
243 | } | 243 | } |
244 | 244 | ||
245 | void bfin_correct_hw_break(void) | 245 | static void bfin_correct_hw_break(void) |
246 | { | 246 | { |
247 | int breakno; | 247 | int breakno; |
248 | unsigned int wpiactl = 0; | 248 | unsigned int wpiactl = 0; |