Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2014 17:27:17 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r261082 - stable/9/sys/rpc
Message-ID:  <201401231727.s0NHRH9A039978@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Thu Jan 23 17:27:16 2014
New Revision: 261082
URL: http://svnweb.freebsd.org/changeset/base/261082

Log:
  Fix build on stable/9.
  
  I am sorry. :(

Modified:
  stable/9/sys/rpc/svc.h
  stable/9/sys/rpc/svc_vc.c

Modified: stable/9/sys/rpc/svc.h
==============================================================================
--- stable/9/sys/rpc/svc.h	Thu Jan 23 17:26:28 2014	(r261081)
+++ stable/9/sys/rpc/svc.h	Thu Jan 23 17:27:16 2014	(r261082)
@@ -327,7 +327,7 @@ enum svcpool_state {
 typedef SVCTHREAD *pool_assign_fn(SVCTHREAD *, struct svc_req *);
 typedef void pool_done_fn(SVCTHREAD *, struct svc_req *);
 typedef struct __rpc_svcpool {
-	struct mtx_padalign sp_lock;	/* protect the transport lists */
+	struct mtx	sp_lock;	/* protect the transport lists */
 	const char	*sp_name;	/* pool name (e.g. "nfsd", "NLM" */
 	enum svcpool_state sp_state;	/* current pool state */
 	struct proc	*sp_proc;	/* process which is in svc_run */

Modified: stable/9/sys/rpc/svc_vc.c
==============================================================================
--- stable/9/sys/rpc/svc_vc.c	Thu Jan 23 17:26:28 2014	(r261081)
+++ stable/9/sys/rpc/svc_vc.c	Thu Jan 23 17:27:16 2014	(r261082)
@@ -44,6 +44,7 @@ __FBSDID("$FreeBSD$");
  */
 
 #include <sys/param.h>
+#include <sys/limits.h>
 #include <sys/lock.h>
 #include <sys/kernel.h>
 #include <sys/malloc.h>



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