Fix hurd i686 build breakage caused by 4fedebc9110809b5965e42f659d3477f4c89def8
Checks
Context |
Check |
Description |
dj/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
dj/TryBot-32bit |
success
|
Build for i686
|
Commit Message
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(-)
Comments
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
>
@@ -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>
@@ -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)
@@ -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)