aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2022-12-28 08:41:54 +0100
committerHelge Deller <deller@gmx.de>2023-05-03 17:41:21 +0200
commit82da62abe56263319a974a4d77c1e6fa19355de1 (patch)
tree1b73988ab60f876301bd380cec9905a3f83f2e7d
parentMerge tag 'pinctrl-v6.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl (diff)
downloadwireguard-linux-82da62abe56263319a974a4d77c1e6fa19355de1.tar.xz
wireguard-linux-82da62abe56263319a974a4d77c1e6fa19355de1.zip
parisc: Limit amount of kgdb breakpoints on parisc
kgdb is rarely used and 40 breakpoints seems enough to debug parisc specific bugs. Signed-off-by: Helge Deller <deller@gmx.de>
-rw-r--r--arch/parisc/include/asm/kgdb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/parisc/include/asm/kgdb.h b/arch/parisc/include/asm/kgdb.h
index f23e7f8f13a5..317cd434bee3 100644
--- a/arch/parisc/include/asm/kgdb.h
+++ b/arch/parisc/include/asm/kgdb.h
@@ -17,6 +17,8 @@
#define NUMREGBYTES sizeof(struct parisc_gdb_regs)
#define BUFMAX 4096
+#define KGDB_MAX_BREAKPOINTS 40
+
#define CACHE_FLUSH_IS_SAFE 1
#ifndef __ASSEMBLY__