Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jul 2023 20:13:00 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 1083a8cd855b - main - pcpu: Remove unused definitions of ALT_STACK_SIZE
Message-ID:  <202307272013.36RKD06l087721@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=1083a8cd855b4ec09b62bf9c1df5b06a972a91ea

commit 1083a8cd855b4ec09b62bf9c1df5b06a972a91ea
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2023-07-24 15:26:08 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2023-07-27 20:02:03 +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
---
 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 edf7f37d191b..89f1e1df4e24 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 ebb72799d83f..de0383c4cd81 100644
--- a/sys/arm64/include/pcpu.h
+++ b/sys/arm64/include/pcpu.h
@@ -37,8 +37,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 0165a271250f..20d948931f4a 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 */	\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307272013.36RKD06l087721>