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/linux Fix order of arguments...



details:   https://anonhg.NetBSD.org/src/rev/3962f9ca1d0d
branches:  trunk
changeset: 364318:3962f9ca1d0d
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 06:57:58 2018 +0000

description:
Fix order of arguments of hlist_add_head_rcu.

diffstat:

 sys/external/bsd/common/include/linux/list.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r bd0dd3f6436a -r 3962f9ca1d0d sys/external/bsd/common/include/linux/list.h
--- a/sys/external/bsd/common/include/linux/list.h      Mon Aug 27 06:57:44 2018 +0000
+++ b/sys/external/bsd/common/include/linux/list.h      Mon Aug 27 06:57:58 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: list.h,v 1.11 2018/08/27 06:57:44 riastradh Exp $      */
+/*     $NetBSD: list.h,v 1.12 2018/08/27 06:57:58 riastradh Exp $      */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -314,7 +314,7 @@
                (VAR) = (NEXT))
 
 #define        hlist_add_behind_rcu(n, p)      pslist_writer_insert_after(p, n)
-#define        hlist_add_head_rcu              pslist_writer_insert_head
+#define        hlist_add_head_rcu(n, h)        pslist_writer_insert_head(h, n)
 #define        hlist_del_init_rcu              hlist_del_init /* no special needs */
 
 #define        hlist_first_rcu         pslist_reader_first



Home | Main Index | Thread Index | Old Index