summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/kgdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/kgdb.h')
-rw-r--r--arch/x86/include/asm/kgdb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kgdb.h b/arch/x86/include/asm/kgdb.h
index 332f98c9111f..aacaf2502bd2 100644
--- a/arch/x86/include/asm/kgdb.h
+++ b/arch/x86/include/asm/kgdb.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_X86_KGDB_H
#define _ASM_X86_KGDB_H
@@ -6,6 +7,8 @@
* Copyright (C) 2008 Wind River Systems, Inc.
*/
+#include <asm/ptrace.h>
+
/*
* BUFMAX defines the maximum number of characters in inbound/outbound
* buffers at least NUMREGBYTES*2 are needed for register packets