git: pc64: Remove redundant symbol exports in genassym.c
Aaron LI
aly at crater.dragonflybsd.org
Fri Nov 20 06:09:41 PST 2026
commit f04e0bdbf0b1500626eeb9f934624757ff53f8a5
Author: Aaron LI <aly at aaronly.me>
Date: Fri Nov 20 20:43:43 2026 +0800
pc64: Remove redundant symbol exports in genassym.c
The MSR_GSBASE, MSR_KGSBASE and MSR_FSBASE are constants defined in
<machine/specialreg.h> and can be used in assembly code, so no need to
redefine them.
Caught by the new genassym.sh, whose output has different value format
(e.g., `#define MSR_GSBASE 3221225729`) and thus caused redefinition
error in compilation.
While there, remove a few commented symbols as well.
Summary of changes:
sys/platform/pc64/x86_64/genassym.c | 9 ---------
1 file changed, 9 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f04e0bdbf0b1500626eeb9f934624757ff53f8a5
--
DragonFly BSD source repository
More information about the Commits
mailing list