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 */ _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"