Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/sys Provide the compat structures even if not bui...



details:   https://anonhg.NetBSD.org/src/rev/69770a0a4b78
branches:  trunk
changeset: 452362:69770a0a4b78
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Jun 30 08:49:21 2019 +0000

description:
Provide the compat structures even if not building 64bit kernels, as
we have same-bitness netbsd32 emulations for different ABIs on some
architectures.

diffstat:

 sys/compat/sys/siginfo.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r a8f6a779daba -r 69770a0a4b78 sys/compat/sys/siginfo.h
--- a/sys/compat/sys/siginfo.h  Sun Jun 30 05:04:48 2019 +0000
+++ b/sys/compat/sys/siginfo.h  Sun Jun 30 08:49:21 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: siginfo.h,v 1.6 2019/06/27 01:58:49 christos Exp $      */
+/*     $NetBSD: siginfo.h,v 1.7 2019/06/30 08:49:21 martin Exp $        */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
 #ifndef        _COMPAT_SYS_SIGINFO_H_
 #define        _COMPAT_SYS_SIGINFO_H_
 
-#if defined(_LP64) && defined(_KERNEL)
+#ifdef _KERNEL
 
 typedef union sigval32 {
        int sival_int;
@@ -83,6 +83,6 @@
        struct __ksiginfo32 _info;
 } siginfo32_t;
 
-#endif /* _LP64 && _KERNEL */
+#endif /* _KERNEL */
 
 #endif /* !_COMPAT_SYS_SIGINFO_H_ */



Home | Main Index | Thread Index | Old Index