1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 *  Copyright IBM Corp. 2004
4 *
5 *  Author: Martin Schwidefsky <schwidefsky@de.ibm.com>
6 */
7
8#ifndef _S390_CPUTIME_H
9#define _S390_CPUTIME_H
10
11#include <linux/types.h>
12#include <asm/timex.h>
13
14/*
15 * Convert cputime to nanoseconds.
16 */
17#define cputime_to_nsecs(cputime) tod_to_ns(cputime)
18
19void account_idle_time_irq(void);
20
21#endif /* _S390_CPUTIME_H */
22