[PATCH 2/2] Ada: Fix GNU/Hurd maximum priority
Samuel Thibault
samuel.thibault@ens-lyon.org
Sun Dec 22 00:13:04 GMT 2024
gcc/ada/ChangeLog:
* libgnat/system-gnu.ads: Set Max_Priority to 60.
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
---
gcc/ada/libgnat/system-gnu.ads | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/ada/libgnat/system-gnu.ads b/gcc/ada/libgnat/system-gnu.ads
index f46b32359f2..5049ab88856 100644
--- a/gcc/ada/libgnat/system-gnu.ads
+++ b/gcc/ada/libgnat/system-gnu.ads
@@ -95,7 +95,7 @@ package System is
-- Priority-related Declarations (RM D.1)
- Max_Priority : constant Positive := 0;
+ Max_Priority : constant Positive := 60;
Max_Interrupt_Priority : constant Positive := 63;
subtype Any_Priority is Integer range 0 .. 63;
--
2.43.0
More information about the Libc-alpha
mailing list