Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Mar 2017 15:34:49 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r314860 - head/sys/compat/linuxkpi/common/include/linux
Message-ID:  <201703071534.v27FYnBf020177@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Tue Mar  7 15:34:49 2017
New Revision: 314860
URL: https://svnweb.freebsd.org/changeset/base/314860

Log:
  Fix implementation of the DECLARE_RWSEM() macro in the LinuxKPI.
  
  MFC after:		1 week
  Sponsored by:		Mellanox Technologies

Modified:
  head/sys/compat/linuxkpi/common/include/linux/rwsem.h

Modified: head/sys/compat/linuxkpi/common/include/linux/rwsem.h
==============================================================================
--- head/sys/compat/linuxkpi/common/include/linux/rwsem.h	Tue Mar  7 15:33:38 2017	(r314859)
+++ head/sys/compat/linuxkpi/common/include/linux/rwsem.h	Tue Mar  7 15:34:49 2017	(r314860)
@@ -66,9 +66,9 @@ struct rw_semaphore {
 struct rw_semaphore name;						\
 static void name##_rwsem_init(void *arg)				\
 {									\
-	linux_init_rwsem(&name, rwsem_name(#name))			\
+	linux_init_rwsem(&name, rwsem_name(#name));			\
 }									\
-SYSINIT(name, SI_SUB_LOCKS, SI_ORDER_SECOND, name##_rwsem_init, NULL)
+SYSINIT(name, SI_SUB_LOCK, SI_ORDER_SECOND, name##_rwsem_init, NULL)
 
 static inline void
 linux_init_rwsem(struct rw_semaphore *rw, const char *name)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703071534.v27FYnBf020177>