diff options
Diffstat (limited to 'kernel/debug/debug_core.h')
| -rw-r--r-- | kernel/debug/debug_core.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/debug/debug_core.h b/kernel/debug/debug_core.h index 2235967e78b0..572aa4f5677c 100644 --- a/kernel/debug/debug_core.h +++ b/kernel/debug/debug_core.h | |||
| @@ -26,6 +26,7 @@ struct kgdb_state { | |||
| 26 | unsigned long threadid; | 26 | unsigned long threadid; |
| 27 | long kgdb_usethreadid; | 27 | long kgdb_usethreadid; |
| 28 | struct pt_regs *linux_regs; | 28 | struct pt_regs *linux_regs; |
| 29 | atomic_t *send_ready; | ||
| 29 | }; | 30 | }; |
| 30 | 31 | ||
| 31 | /* Exception state values */ | 32 | /* Exception state values */ |
| @@ -74,11 +75,13 @@ extern int kdb_stub(struct kgdb_state *ks); | |||
| 74 | extern int kdb_parse(const char *cmdstr); | 75 | extern int kdb_parse(const char *cmdstr); |
| 75 | extern int kdb_common_init_state(struct kgdb_state *ks); | 76 | extern int kdb_common_init_state(struct kgdb_state *ks); |
| 76 | extern int kdb_common_deinit_state(void); | 77 | extern int kdb_common_deinit_state(void); |
| 78 | #define KGDB_KDB_REASON_SYSTEM_NMI KDB_REASON_SYSTEM_NMI | ||
| 77 | #else /* ! CONFIG_KGDB_KDB */ | 79 | #else /* ! CONFIG_KGDB_KDB */ |
| 78 | static inline int kdb_stub(struct kgdb_state *ks) | 80 | static inline int kdb_stub(struct kgdb_state *ks) |
| 79 | { | 81 | { |
| 80 | return DBG_PASS_EVENT; | 82 | return DBG_PASS_EVENT; |
| 81 | } | 83 | } |
| 84 | #define KGDB_KDB_REASON_SYSTEM_NMI 0 | ||
| 82 | #endif /* CONFIG_KGDB_KDB */ | 85 | #endif /* CONFIG_KGDB_KDB */ |
| 83 | 86 | ||
| 84 | #endif /* _DEBUG_CORE_H_ */ | 87 | #endif /* _DEBUG_CORE_H_ */ |
