Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-9]: src/sys/kern Additionally pull up following revision(s) (requ...



details:   https://anonhg.NetBSD.org/src/rev/571f5e8f422e
branches:  netbsd-9
changeset: 949127:571f5e8f422e
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Jan 02 10:23:46 2021 +0000

description:
Additionally pull up following revision(s) (requested by rin in ticket #1173):

        sys/kern/core_elf32.c: revision 1.67

Use <compat/netbsd32/netbsd32.h> instead of <machine/netbsd32_machdep.h>,
which is not intended for standalone use.

Compile tested for all ports with their own COMPAT_NETBSD32 codes:
aarch64, amd64, arm, mips64, sparc64, and algor64.

Should fix build failure for mips64 in netbsd-9, where netbsd32.h is not
included by other header files.

diffstat:

 sys/kern/core_elf32.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c1348a111561 -r 571f5e8f422e sys/kern/core_elf32.c
--- a/sys/kern/core_elf32.c     Fri Jan 01 13:19:02 2021 +0000
+++ b/sys/kern/core_elf32.c     Sat Jan 02 10:23:46 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: core_elf32.c,v 1.58.4.1 2021/01/01 13:04:08 martin Exp $       */
+/*     $NetBSD: core_elf32.c,v 1.58.4.2 2021/01/02 10:23:46 martin Exp $       */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: core_elf32.c,v 1.58.4.1 2021/01/01 13:04:08 martin Exp $");
+__KERNEL_RCSID(1, "$NetBSD: core_elf32.c,v 1.58.4.2 2021/01/02 10:23:46 martin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_coredump.h"
@@ -68,7 +68,7 @@
 #ifdef COREDUMP
 
 #ifdef COMPAT_NETBSD32
-#include <machine/netbsd32_machdep.h>
+#include <compat/netbsd32/netbsd32.h>
 #endif
 
 struct writesegs_state {



Home | Main Index | Thread Index | Old Index