summaryrefslogtreecommitdiff
path: root/arch/parisc/include
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2022-12-28 10:41:54 +0300
committerHelge Deller <deller@gmx.de>2023-05-03 18:41:21 +0300
commit82da62abe56263319a974a4d77c1e6fa19355de1 (patch)
tree1b73988ab60f876301bd380cec9905a3f83f2e7d /arch/parisc/include
parent348551ddaf311c76b01cdcbaf61b6fef06a49144 (diff)
downloadlinux-82da62abe56263319a974a4d77c1e6fa19355de1.tar.xz
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>
Diffstat (limited to 'arch/parisc/include')
-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__