Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Mar 2017 06:37:03 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r316009 - head/sys/sys
Message-ID:  <201703270637.v2R6b3mX023133@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Mon Mar 27 06:37:03 2017
New Revision: 316009
URL: https://svnweb.freebsd.org/changeset/base/316009

Log:
  Fix TUNABLE_UINT64() on 32bit architectures.
  
  The macro is not used in the tree.
  
  Sponsored by:	The FreeBSD Foundation
  MFC after:	1 week

Modified:
  head/sys/sys/kernel.h

Modified: head/sys/sys/kernel.h
==============================================================================
--- head/sys/sys/kernel.h	Mon Mar 27 03:11:51 2017	(r316008)
+++ head/sys/sys/kernel.h	Mon Mar 27 06:37:03 2017	(r316009)
@@ -352,7 +352,7 @@ struct tunable_uint64 {
 	uint64_t *var;
 };
 #define	TUNABLE_UINT64(path, var)				\
-	static struct tunable_ulong __CONCAT(__tunable_uint64_, __LINE__) = { \
+	static struct tunable_uint64 __CONCAT(__tunable_uint64_, __LINE__) = { \
 		(path),						\
 		(var),						\
 	};							\



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