svn commit: r321773 - head/sys/compat/linuxkpi/common/include/linux
Hans Petter Selasky
hselasky at FreeBSD.org
Mon Jul 31 09:17:55 UTC 2017
Author: hselasky
Date: Mon Jul 31 09:17:54 2017
New Revision: 321773
URL: https://svnweb.freebsd.org/changeset/base/321773
Log:
Remove cycle_t type from the LinuxKPI similar to Linux upstream.
MFC after: 1 week
Sponsored by: Mellanox Technologies
Modified:
head/sys/compat/linuxkpi/common/include/linux/clocksource.h
Modified: head/sys/compat/linuxkpi/common/include/linux/clocksource.h
==============================================================================
--- head/sys/compat/linuxkpi/common/include/linux/clocksource.h Mon Jul 31 09:15:15 2017 (r321772)
+++ head/sys/compat/linuxkpi/common/include/linux/clocksource.h Mon Jul 31 09:17:54 2017 (r321773)
@@ -33,9 +33,6 @@
#include <asm/types.h>
-#define CLOCKSOURCE_MASK(x) ((cycle_t)(-1ULL >> ((-(x)) & 63)))
-
-/* clocksource cycle base type */
-typedef u64 cycle_t;
+#define CLOCKSOURCE_MASK(x) ((u64)(-1ULL >> ((-(x)) & 63)))
#endif /* _LINUX_CLOCKSOURCE_H */
More information about the svn-src-all
mailing list