[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC PATCH 4/9] hurd: Make timer_t pointer-sized
From: |
Sergey Bugaev |
Subject: |
[RFC PATCH 4/9] hurd: Make timer_t pointer-sized |
Date: |
Sat, 18 Feb 2023 23:37:12 +0300 |
This ensures that a timer_t value can be cast to struct timer_node *
and back.
Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
---
sysdeps/mach/hurd/bits/typesizes.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sysdeps/mach/hurd/bits/typesizes.h
b/sysdeps/mach/hurd/bits/typesizes.h
index 725a0cb1..7b95bb0b 100644
--- a/sysdeps/mach/hurd/bits/typesizes.h
+++ b/sysdeps/mach/hurd/bits/typesizes.h
@@ -54,7 +54,7 @@
#define __DADDR_T_TYPE __S32_TYPE
#define __KEY_T_TYPE __S32_TYPE
#define __CLOCKID_T_TYPE __S32_TYPE
-#define __TIMER_T_TYPE __S32_TYPE
+#define __TIMER_T_TYPE __UWORD_TYPE
#define __BLKSIZE_T_TYPE __SLONGWORD_TYPE
#define __FSID_T_TYPE __UQUAD_TYPE
#define __SSIZE_T_TYPE __SWORD_TYPE
--
2.39.2
- [RFC PATCH 0/9] More x86_64-gnu glibc work, Sergey Bugaev, 2023/02/18
- [RFC PATCH 1/9] hurd: Move thread state manipulation into _hurd_tls_new (), Sergey Bugaev, 2023/02/18
- [RFC PATCH 2/9] hurd: Use proper integer types, Sergey Bugaev, 2023/02/18
- [RFC PATCH 3/9] hurd: Fix xattr function return type, Sergey Bugaev, 2023/02/18
- [RFC PATCH 5/9] hurd: Simplify init-first.c a bit, Sergey Bugaev, 2023/02/18
- [RFC PATCH 4/9] hurd: Make timer_t pointer-sized,
Sergey Bugaev <=
- [RFC PATCH 6/9] mach: Use PAGE_SIZE, Sergey Bugaev, 2023/02/18
- [RFC PATCH 7/9] hurd: Generalize init-first.c to support x86_64, Sergey Bugaev, 2023/02/18
- Re: [RFC PATCH 7/9] hurd: Generalize init-first.c to support x86_64, Noah Goldstein, 2023/02/20
[RFC PATCH 8/9 gnumach] Add i386_fsgs_base_state, Sergey Bugaev, 2023/02/18