public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH glibc] Fix hurd i686 build breakage caused by 4fedebc9110809b5965e42f659d3477f4c89def8
@ 2023-02-17  6:16 Flavio Cruz
  2023-02-17 10:21 ` Samuel Thibault
  0 siblings, 1 reply; 2+ messages in thread
From: Flavio Cruz @ 2023-02-17  6:16 UTC (permalink / raw)
  To: bug-hurd, libc-alpha

We already use the mach/machine include pattern in some other places so
seems fine to make it consistent here too.
---
 sysdeps/mach/hurd/i386/htl/pt-machdep.c | 4 ++--
 sysdeps/mach/hurd/i386/tls.h            | 2 +-
 sysdeps/mach/hurd/x86/ioperm.c          | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sysdeps/mach/hurd/i386/htl/pt-machdep.c b/sysdeps/mach/hurd/i386/htl/pt-machdep.c
index de534582be..f4c8f93c2f 100644
--- a/sysdeps/mach/hurd/i386/htl/pt-machdep.c
+++ b/sysdeps/mach/hurd/i386/htl/pt-machdep.c
@@ -19,8 +19,8 @@
 #include <errno.h>
 
 #include <mach.h>
-#include <mach/i386/thread_status.h>
-#include <mach/i386/mach_i386.h>
+#include <mach/machine/thread_status.h>
+#include <mach/machine/mach_i386.h>
 #include <mach/mig_errors.h>
 #include <mach/thread_status.h>
 
diff --git a/sysdeps/mach/hurd/i386/tls.h b/sysdeps/mach/hurd/i386/tls.h
index dc43d4c707..590abd47fe 100644
--- a/sysdeps/mach/hurd/i386/tls.h
+++ b/sysdeps/mach/hurd/i386/tls.h
@@ -101,7 +101,7 @@ extern unsigned short __init1_desc;
 
 /* Use i386-specific RPCs to arrange that %gs segment register prefix
    addresses the TCB in each thread.  */
-# include <mach/i386/mach_i386.h>
+# include <mach/machine/mach_i386.h>
 
 # ifndef HAVE_I386_SET_GDT
 #  define __i386_set_gdt(thr, sel, desc) ((void) (thr), (void) (sel), (void) (desc), MIG_BAD_ID)
diff --git a/sysdeps/mach/hurd/x86/ioperm.c b/sysdeps/mach/hurd/x86/ioperm.c
index 73b886b9c9..88343e4bbd 100644
--- a/sysdeps/mach/hurd/x86/ioperm.c
+++ b/sysdeps/mach/hurd/x86/ioperm.c
@@ -18,7 +18,7 @@
 
 #include <sys/io.h>
 #include <hurd.h>
-#include <mach/i386/mach_i386.h>
+#include <mach/machine/mach_i386.h>
 
 int
 ioperm (unsigned long int from, unsigned long int num, int turn_on)
-- 
2.39.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH glibc] Fix hurd i686 build breakage caused by 4fedebc9110809b5965e42f659d3477f4c89def8
  2023-02-17  6:16 [PATCH glibc] Fix hurd i686 build breakage caused by 4fedebc9110809b5965e42f659d3477f4c89def8 Flavio Cruz
@ 2023-02-17 10:21 ` Samuel Thibault
  0 siblings, 0 replies; 2+ messages in thread
From: Samuel Thibault @ 2023-02-17 10:21 UTC (permalink / raw)
  To: Flavio Cruz; +Cc: bug-hurd, libc-alpha

Applied, thanks!

Flavio Cruz via Libc-alpha, le ven. 17 févr. 2023 01:16:09 -0500, a ecrit:
> We already use the mach/machine include pattern in some other places so
> seems fine to make it consistent here too.
> ---
>  sysdeps/mach/hurd/i386/htl/pt-machdep.c | 4 ++--
>  sysdeps/mach/hurd/i386/tls.h            | 2 +-
>  sysdeps/mach/hurd/x86/ioperm.c          | 2 +-
>  3 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/sysdeps/mach/hurd/i386/htl/pt-machdep.c b/sysdeps/mach/hurd/i386/htl/pt-machdep.c
> index de534582be..f4c8f93c2f 100644
> --- a/sysdeps/mach/hurd/i386/htl/pt-machdep.c
> +++ b/sysdeps/mach/hurd/i386/htl/pt-machdep.c
> @@ -19,8 +19,8 @@
>  #include <errno.h>
>  
>  #include <mach.h>
> -#include <mach/i386/thread_status.h>
> -#include <mach/i386/mach_i386.h>
> +#include <mach/machine/thread_status.h>
> +#include <mach/machine/mach_i386.h>
>  #include <mach/mig_errors.h>
>  #include <mach/thread_status.h>
>  
> diff --git a/sysdeps/mach/hurd/i386/tls.h b/sysdeps/mach/hurd/i386/tls.h
> index dc43d4c707..590abd47fe 100644
> --- a/sysdeps/mach/hurd/i386/tls.h
> +++ b/sysdeps/mach/hurd/i386/tls.h
> @@ -101,7 +101,7 @@ extern unsigned short __init1_desc;
>  
>  /* Use i386-specific RPCs to arrange that %gs segment register prefix
>     addresses the TCB in each thread.  */
> -# include <mach/i386/mach_i386.h>
> +# include <mach/machine/mach_i386.h>
>  
>  # ifndef HAVE_I386_SET_GDT
>  #  define __i386_set_gdt(thr, sel, desc) ((void) (thr), (void) (sel), (void) (desc), MIG_BAD_ID)
> diff --git a/sysdeps/mach/hurd/x86/ioperm.c b/sysdeps/mach/hurd/x86/ioperm.c
> index 73b886b9c9..88343e4bbd 100644
> --- a/sysdeps/mach/hurd/x86/ioperm.c
> +++ b/sysdeps/mach/hurd/x86/ioperm.c
> @@ -18,7 +18,7 @@
>  
>  #include <sys/io.h>
>  #include <hurd.h>
> -#include <mach/i386/mach_i386.h>
> +#include <mach/machine/mach_i386.h>
>  
>  int
>  ioperm (unsigned long int from, unsigned long int num, int turn_on)
> -- 
> 2.39.1
> 

-- 
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-17 10:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-17  6:16 [PATCH glibc] Fix hurd i686 build breakage caused by 4fedebc9110809b5965e42f659d3477f4c89def8 Flavio Cruz
2023-02-17 10:21 ` Samuel Thibault

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).