Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Mar 2017 15:37:51 +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: r314861 - head/sys/compat/linuxkpi/common/include/linux
Message-ID:  <201703071537.v27Fbpg8020333@repo.freebsd.org>

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

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

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

Modified: head/sys/compat/linuxkpi/common/include/linux/jiffies.h
==============================================================================
--- head/sys/compat/linuxkpi/common/include/linux/jiffies.h	Tue Mar  7 15:34:49 2017	(r314860)
+++ head/sys/compat/linuxkpi/common/include/linux/jiffies.h	Tue Mar  7 15:37:51 2017	(r314861)
@@ -50,6 +50,7 @@
 #define	time_before_eq(a, b)	time_after_eq(b, a)
 #define	time_in_range(a,b,c)	\
 	(time_after_eq(a,b) && time_before_eq(a,c))
+#define	time_is_after_eq_jiffies(a) time_after_eq(a, jiffies)
 
 #define	HZ	hz
 



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