Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Feb 2017 14:23:47 +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: r314205 - head/sys/compat/linuxkpi/common/include/linux
Message-ID:  <201702241423.v1OENlhh091396@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Fri Feb 24 14:23:46 2017
New Revision: 314205
URL: https://svnweb.freebsd.org/changeset/base/314205

Log:
  Implement BIT_ULL() macro in the LinuxKPI.
  
  MFC after:		1 week
  Sponsored by:		Mellanox Technologies

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

Modified: head/sys/compat/linuxkpi/common/include/linux/bitops.h
==============================================================================
--- head/sys/compat/linuxkpi/common/include/linux/bitops.h	Fri Feb 24 12:12:30 2017	(r314204)
+++ head/sys/compat/linuxkpi/common/include/linux/bitops.h	Fri Feb 24 14:23:46 2017	(r314205)
@@ -37,6 +37,7 @@
 #include <sys/errno.h>
 
 #define	BIT(nr)			(1UL << (nr))
+#define	BIT_ULL(nr)		(1ULL << (nr))
 #ifdef __LP64__
 #define	BITS_PER_LONG		64
 #else



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