about summary refs log tree commit diff
path: root/arch
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2022-03-08 17:21:49 -0500
committerRich Felker <dalias@aerifal.cx>2022-03-08 17:21:49 -0500
commit760f5d7efed4d4761875334f8c4e6398be308cc9 (patch)
tree39dffec794eb0181709aa511fa8a1b93d584f1ae /arch
parentbdb5454065f74b0f6b5ddd8ee39f83d6303c97bb (diff)
downloadmusl-760f5d7efed4d4761875334f8c4e6398be308cc9.tar.gz
musl-760f5d7efed4d4761875334f8c4e6398be308cc9.tar.xz
musl-760f5d7efed4d4761875334f8c4e6398be308cc9.zip
fix __WORDSIZE on x32 sys/user.h
sys/reg.h already had it right as 32, to which it was explicitly
changed when commit 664cd341921007cea52c8891f27ce35927dca378 derived
x32 from x86_64. but the copy exposed in sys/user.h was missed.
Diffstat (limited to 'arch')
-rw-r--r--arch/x32/bits/user.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x32/bits/user.h b/arch/x32/bits/user.h
index 4073cc06..eac82a14 100644
--- a/arch/x32/bits/user.h
+++ b/arch/x32/bits/user.h
@@ -1,5 +1,5 @@
 #undef __WORDSIZE
-#define __WORDSIZE 64
+#define __WORDSIZE 32
 
 typedef struct user_fpregs_struct {
 	uint16_t cwd, swd, ftw, fop;