git: c7508914f41c - stable/13 - pcpu: Remove unused definitions of ALT_STACK_SIZE
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Aug 2023 14:07:16 UTC
The branch stable/13 has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=c7508914f41c0121c97ec058ad52c8f938471fc6
commit c7508914f41c0121c97ec058ad52c8f938471fc6
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2023-07-24 15:26:08 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2023-08-07 14:02:18 +0000
pcpu: Remove unused definitions of ALT_STACK_SIZE
This was added originally for the sparc64 port and apparently copied to
other platforms. No functional change intended.
MFC after: 1 week
(cherry picked from commit 1083a8cd855b4ec09b62bf9c1df5b06a972a91ea)
---
sys/arm/include/pcpu.h | 2 --
sys/arm64/include/pcpu.h | 2 --
sys/riscv/include/pcpu.h | 2 --
3 files changed, 6 deletions(-)
diff --git a/sys/arm/include/pcpu.h b/sys/arm/include/pcpu.h
index 651d9d586ef4..48fd6e325295 100644
--- a/sys/arm/include/pcpu.h
+++ b/sys/arm/include/pcpu.h
@@ -37,8 +37,6 @@
#include <sys/_lock.h>
#include <sys/_mutex.h>
-#define ALT_STACK_SIZE 128
-
struct vmspace;
#endif /* _KERNEL */
diff --git a/sys/arm64/include/pcpu.h b/sys/arm64/include/pcpu.h
index 8ec4a33b0d67..d6439b180e3c 100644
--- a/sys/arm64/include/pcpu.h
+++ b/sys/arm64/include/pcpu.h
@@ -33,8 +33,6 @@
#include <machine/cpu.h>
#include <machine/cpufunc.h>
-#define ALT_STACK_SIZE 128
-
typedef int (*pcpu_bp_harden)(void);
typedef int (*pcpu_ssbd)(int);
struct debug_monitor_state;
diff --git a/sys/riscv/include/pcpu.h b/sys/riscv/include/pcpu.h
index bdb2a4e2c5df..7a186504a7bd 100644
--- a/sys/riscv/include/pcpu.h
+++ b/sys/riscv/include/pcpu.h
@@ -42,8 +42,6 @@
#include <machine/cpu.h>
#include <machine/cpufunc.h>
-#define ALT_STACK_SIZE 128
-
/* Keep in sync with db_show_mdpcpu() */
#define PCPU_MD_FIELDS \
struct pmap *pc_curpmap; /* Currently active pmap */ \