Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/common/include/asm Side-load linux/compiler...



details:   https://anonhg.NetBSD.org/src/rev/21e0731cb03a
branches:  trunk
changeset: 1028395:21e0731cb03a
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 10:56:58 2021 +0000

description:
Side-load linux/compiler.h in asm/barrier.h.

diffstat:

 sys/external/bsd/common/include/asm/barrier.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 3012d8bb42a8 -r 21e0731cb03a sys/external/bsd/common/include/asm/barrier.h
--- a/sys/external/bsd/common/include/asm/barrier.h     Sun Dec 19 10:56:50 2021 +0000
+++ b/sys/external/bsd/common/include/asm/barrier.h     Sun Dec 19 10:56:58 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: barrier.h,v 1.5 2020/10/16 22:39:21 jmcneill Exp $     */
+/*     $NetBSD: barrier.h,v 1.6 2021/12/19 10:56:58 riastradh Exp $    */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -34,6 +34,8 @@
 
 #include <sys/atomic.h>
 
+#include <linux/compiler.h>
+
 #ifdef _KERNEL_OPT
 #include "opt_multiprocessor.h"
 #else



Home | Main Index | Thread Index | Old Index