diff options
Diffstat (limited to 'arch/mn10300/include/asm/gdb-stub.h')
-rw-r--r-- | arch/mn10300/include/asm/gdb-stub.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/mn10300/include/asm/gdb-stub.h b/arch/mn10300/include/asm/gdb-stub.h index 556cce992548..41ed26763964 100644 --- a/arch/mn10300/include/asm/gdb-stub.h +++ b/arch/mn10300/include/asm/gdb-stub.h | |||
@@ -157,25 +157,25 @@ void gdbstub_printk(const char *fmt, ...) | |||
157 | #ifdef CONFIG_GDBSTUB_DEBUG_ENTRY | 157 | #ifdef CONFIG_GDBSTUB_DEBUG_ENTRY |
158 | #define gdbstub_entry(FMT, ...) gdbstub_printk(FMT, ##__VA_ARGS__) | 158 | #define gdbstub_entry(FMT, ...) gdbstub_printk(FMT, ##__VA_ARGS__) |
159 | #else | 159 | #else |
160 | #define gdbstub_entry(FMT, ...) ({ 0; }) | 160 | #define gdbstub_entry(FMT, ...) no_printk(FMT, ##__VA_ARGS__) |
161 | #endif | 161 | #endif |
162 | 162 | ||
163 | #ifdef CONFIG_GDBSTUB_DEBUG_PROTOCOL | 163 | #ifdef CONFIG_GDBSTUB_DEBUG_PROTOCOL |
164 | #define gdbstub_proto(FMT, ...) gdbstub_printk(FMT, ##__VA_ARGS__) | 164 | #define gdbstub_proto(FMT, ...) gdbstub_printk(FMT, ##__VA_ARGS__) |
165 | #else | 165 | #else |
166 | #define gdbstub_proto(FMT, ...) ({ 0; }) | 166 | #define gdbstub_proto(FMT, ...) no_printk(FMT, ##__VA_ARGS__) |
167 | #endif | 167 | #endif |
168 | 168 | ||
169 | #ifdef CONFIG_GDBSTUB_DEBUG_IO | 169 | #ifdef CONFIG_GDBSTUB_DEBUG_IO |
170 | #define gdbstub_io(FMT, ...) gdbstub_printk(FMT, ##__VA_ARGS__) | 170 | #define gdbstub_io(FMT, ...) gdbstub_printk(FMT, ##__VA_ARGS__) |
171 | #else | 171 | #else |
172 | #define gdbstub_io(FMT, ...) ({ 0; }) | 172 | #define gdbstub_io(FMT, ...) no_printk(FMT, ##__VA_ARGS__) |
173 | #endif | 173 | #endif |
174 | 174 | ||
175 | #ifdef CONFIG_GDBSTUB_DEBUG_BREAKPOINT | 175 | #ifdef CONFIG_GDBSTUB_DEBUG_BREAKPOINT |
176 | #define gdbstub_bkpt(FMT, ...) gdbstub_printk(FMT, ##__VA_ARGS__) | 176 | #define gdbstub_bkpt(FMT, ...) gdbstub_printk(FMT, ##__VA_ARGS__) |
177 | #else | 177 | #else |
178 | #define gdbstub_bkpt(FMT, ...) ({ 0; }) | 178 | #define gdbstub_bkpt(FMT, ...) no_printk(FMT, ##__VA_ARGS__) |
179 | #endif | 179 | #endif |
180 | 180 | ||
181 | #endif /* !__ASSEMBLY__ */ | 181 | #endif /* !__ASSEMBLY__ */ |