|
|
@@ -50,6 +50,7 @@ extern phys_addr_t arm64_dma_phys_limit;
|
|
|
#define ARCH_LOW_ADDRESS_LIMIT (arm64_dma_phys_limit - 1)
|
|
|
|
|
|
struct debug_info {
|
|
|
+#ifdef CONFIG_HAVE_HW_BREAKPOINT
|
|
|
/* Have we suspended stepping by a debugger? */
|
|
|
int suspended_step;
|
|
|
/* Allow breakpoints and watchpoints to be disabled for this thread. */
|
|
|
@@ -58,6 +59,7 @@ struct debug_info {
|
|
|
/* Hardware breakpoints pinned to this task. */
|
|
|
struct perf_event *hbp_break[ARM_MAX_BRP];
|
|
|
struct perf_event *hbp_watch[ARM_MAX_WRP];
|
|
|
+#endif
|
|
|
};
|
|
|
|
|
|
struct cpu_context {
|