/* Automatically generated by kernel/timeconst.pl */
/* Conversion constants for HZ == 1000 */

#ifndef KERNEL_TIMECONST_H
#define KERNEL_TIMECONST_H

#include <linux/param.h>
#include <linux/types.h>

#if HZ != 1000
#error "kernel/timeconst.h has the wrong HZ value!"
#endif

#define HZ_TO_MSEC_MUL32        U64_C(0x80000000)
#define HZ_TO_MSEC_ADJ32        U64_C(0x0)
#define HZ_TO_MSEC_SHR32        31
#define HZ_TO_MSEC_NUM          U64_C(1)
#define HZ_TO_MSEC_DEN          U64_C(1)
#define MSEC_TO_HZ_MUL32        U64_C(0x80000000)
#define MSEC_TO_HZ_ADJ32        U64_C(0x0)
#define MSEC_TO_HZ_SHR32        31
#define MSEC_TO_HZ_NUM          U64_C(1)
#define MSEC_TO_HZ_DEN          U64_C(1)
#define HZ_TO_USEC_MUL32        U64_C(0xfa000000)
#define HZ_TO_USEC_ADJ32        U64_C(0x0)
#define HZ_TO_USEC_SHR32        22
#define HZ_TO_USEC_NUM          U64_C(1000)
#define HZ_TO_USEC_DEN          U64_C(1)
#define USEC_TO_HZ_MUL32        U64_C(0x83126e98)
#define USEC_TO_HZ_ADJ32        U64_C(0x1ff7ced9168)
#define USEC_TO_HZ_SHR32        41
#define USEC_TO_HZ_NUM          U64_C(1)
#define USEC_TO_HZ_DEN          U64_C(1000)

#endif /* KERNEL_TIMECONST_H */
