.. | .. |
---|
125 | 125 | #define KDB_FLAG_NO_I8042 (1 << 7) /* No i8042 chip is available, do |
---|
126 | 126 | * not use keyboard */ |
---|
127 | 127 | |
---|
128 | | -extern int kdb_flags; /* Global flags, see kdb_state for per cpu state */ |
---|
| 128 | +extern unsigned int kdb_flags; /* Global flags, see kdb_state for per cpu state */ |
---|
129 | 129 | |
---|
130 | 130 | extern void kdb_save_flags(void); |
---|
131 | 131 | extern void kdb_restore_flags(void); |
---|
.. | .. |
---|
167 | 167 | extern __printf(1, 2) int kdb_printf(const char *, ...); |
---|
168 | 168 | typedef __printf(1, 2) int (*kdb_printf_t)(const char *, ...); |
---|
169 | 169 | |
---|
170 | | -#define in_kdb_printk() (kdb_trap_printk) |
---|
171 | 170 | extern void kdb_init(int level); |
---|
172 | 171 | |
---|
173 | 172 | /* Access to kdb specific polling devices */ |
---|
.. | .. |
---|
184 | 183 | return cpu; |
---|
185 | 184 | } |
---|
186 | 185 | |
---|
187 | | -/* kdb access to register set for stack dumping */ |
---|
188 | | -extern struct pt_regs *kdb_current_regs; |
---|
189 | 186 | #ifdef CONFIG_KALLSYMS |
---|
190 | 187 | extern const char *kdb_walk_kallsyms(loff_t *pos); |
---|
191 | 188 | #else /* ! CONFIG_KALLSYMS */ |
---|
.. | .. |
---|
202 | 199 | extern int kdb_unregister(char *); |
---|
203 | 200 | #else /* ! CONFIG_KGDB_KDB */ |
---|
204 | 201 | static inline __printf(1, 2) int kdb_printf(const char *fmt, ...) { return 0; } |
---|
205 | | -#define in_kdb_printk() (0) |
---|
206 | 202 | static inline void kdb_init(int level) {} |
---|
207 | 203 | static inline int kdb_register(char *cmd, kdb_func_t func, char *usage, |
---|
208 | 204 | char *help, short minlen) { return 0; } |
---|