1270710Shselasky/*-
2270710Shselasky * Copyright (c) 2010 Isilon Systems, Inc.
3270710Shselasky * Copyright (c) 2010 iX Systems, Inc.
4270710Shselasky * Copyright (c) 2010 Panasas, Inc.
5294839Shselasky * Copyright (c) 2013-2016 Mellanox Technologies, Ltd.
6270710Shselasky * All rights reserved.
7255932Salfred *
8270710Shselasky * Redistribution and use in source and binary forms, with or without
9270710Shselasky * modification, are permitted provided that the following conditions
10270710Shselasky * are met:
11270710Shselasky * 1. Redistributions of source code must retain the above copyright
12270710Shselasky *    notice unmodified, this list of conditions, and the following
13270710Shselasky *    disclaimer.
14270710Shselasky * 2. Redistributions in binary form must reproduce the above copyright
15270710Shselasky *    notice, this list of conditions and the following disclaimer in the
16270710Shselasky *    documentation and/or other materials provided with the distribution.
17255932Salfred *
18270710Shselasky * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
19270710Shselasky * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
20270710Shselasky * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
21270710Shselasky * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
22270710Shselasky * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
23270710Shselasky * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24270710Shselasky * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25270710Shselasky * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26270710Shselasky * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27270710Shselasky * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28289644Shselasky *
29289644Shselasky * $FreeBSD: stable/11/sys/compat/linuxkpi/common/include/linux/clocksource.h 328653 2018-02-01 13:01:44Z hselasky $
30255932Salfred */
31255932Salfred#ifndef _LINUX_CLOCKSOURCE_H
32294839Shselasky#define	_LINUX_CLOCKSOURCE_H
33255932Salfred
34290335Shselasky#include <asm/types.h>
35290335Shselasky
36328653Shselasky#define	CLOCKSOURCE_MASK(x) ((u64)(-1ULL >> ((-(x)) & 63)))
37294839Shselasky
38294839Shselasky#endif					/* _LINUX_CLOCKSOURCE_H */
39