summaryrefslogtreecommitdiffstats
path: root/kernel/debug/kdb/kdb_keyboard.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2023-07-04 00:19:56 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2023-07-04 00:19:56 +0200
commiteded37770c9f80ecd5ba842359c4f1058d9812c3 (patch)
treef9cbbfb04866fa364d27f0936112bc1be1af77af /kernel/debug/kdb/kdb_keyboard.c
parentMerge tag 'usb-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg... (diff)
parentkdb: move kdb_send_sig() declaration to a better header file (diff)
downloadlinux-eded37770c9f80ecd5ba842359c4f1058d9812c3.tar.xz
linux-eded37770c9f80ecd5ba842359c4f1058d9812c3.zip
Merge tag 'kgdb-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux
Pull kgdb updates from Daniel Thompson: "Fairly small changes this cycle: - An additional static inline function when kgdb is not enabled to reduce boilerplate in arch files - kdb will now handle input with linefeeds more like carriage return. This will make little difference for interactive use but can make it script to use expect-like interaction with kdb - A couple of warning fixes" * tag 'kgdb-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux: kdb: move kdb_send_sig() declaration to a better header file kdb: Handle LF in the command parser kdb: include kdb_private.h for function prototypes kgdb: Provide a stub kgdb_nmicallback() if !CONFIG_KGDB
Diffstat (limited to 'kernel/debug/kdb/kdb_keyboard.c')
-rw-r--r--kernel/debug/kdb/kdb_keyboard.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/debug/kdb/kdb_keyboard.c b/kernel/debug/kdb/kdb_keyboard.c
index f87c750d3eb3..3c2987f46f6e 100644
--- a/kernel/debug/kdb/kdb_keyboard.c
+++ b/kernel/debug/kdb/kdb_keyboard.c
@@ -13,6 +13,8 @@
#include <linux/ctype.h>
#include <linux/io.h>
+#include "kdb_private.h"
+
/* Keyboard Controller Registers on normal PCs. */
#define KBD_STATUS_REG 0x64 /* Status register (R) */