git: 2f2ec4bce960 - main - dtrace: remove unused defines
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 12 Jan 2023 15:06:52 UTC
The branch main has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=2f2ec4bce96058c061f4c08fd62e67c37992dec3 commit 2f2ec4bce96058c061f4c08fd62e67c37992dec3 Author: Mitchell Horne <mhorne@FreeBSD.org> AuthorDate: 2023-01-11 18:05:38 +0000 Commit: Mitchell Horne <mhorne@FreeBSD.org> CommitDate: 2023-01-12 15:04:47 +0000 dtrace: remove unused defines Reviewed by: markj, emaste MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D37659 --- sys/cddl/dev/dtrace/aarch64/dtrace_isa.c | 6 ------ sys/cddl/dev/dtrace/arm/dtrace_isa.c | 8 -------- sys/cddl/dev/dtrace/riscv/dtrace_isa.c | 6 ------ 3 files changed, 20 deletions(-) diff --git a/sys/cddl/dev/dtrace/aarch64/dtrace_isa.c b/sys/cddl/dev/dtrace/aarch64/dtrace_isa.c index b26b15a58070..98a0e6e498ed 100644 --- a/sys/cddl/dev/dtrace/aarch64/dtrace_isa.c +++ b/sys/cddl/dev/dtrace/aarch64/dtrace_isa.c @@ -50,12 +50,6 @@ #include "regset.h" -/* - * Wee need some reasonable default to prevent backtrace code - * from wandering too far - */ -#define MAX_FUNCTION_SIZE 0x10000 -#define MAX_PROLOGUE_SIZE 0x100 #define MAX_USTACK_DEPTH 2048 uint8_t dtrace_fuword8_nocheck(void *); diff --git a/sys/cddl/dev/dtrace/arm/dtrace_isa.c b/sys/cddl/dev/dtrace/arm/dtrace_isa.c index ede352e6b873..e6fba2d09be8 100644 --- a/sys/cddl/dev/dtrace/arm/dtrace_isa.c +++ b/sys/cddl/dev/dtrace/arm/dtrace_isa.c @@ -50,14 +50,6 @@ #include "regset.h" -/* - * Wee need some reasonable default to prevent backtrace code - * from wandering too far - */ -#define MAX_FUNCTION_SIZE 0x10000 -#define MAX_PROLOGUE_SIZE 0x100 - - uint8_t dtrace_fuword8_nocheck(void *); uint16_t dtrace_fuword16_nocheck(void *); uint32_t dtrace_fuword32_nocheck(void *); diff --git a/sys/cddl/dev/dtrace/riscv/dtrace_isa.c b/sys/cddl/dev/dtrace/riscv/dtrace_isa.c index d42299abcd35..1f585aa6fa3c 100644 --- a/sys/cddl/dev/dtrace/riscv/dtrace_isa.c +++ b/sys/cddl/dev/dtrace/riscv/dtrace_isa.c @@ -52,12 +52,6 @@ #include "regset.h" -/* - * Wee need some reasonable default to prevent backtrace code - * from wandering too far - */ -#define MAX_FUNCTION_SIZE 0x10000 -#define MAX_PROLOGUE_SIZE 0x100 #define MAX_USTACK_DEPTH 2048 uint8_t dtrace_fuword8_nocheck(void *);