Loading...
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * arch/arm/include/asm/mach/time.h
4 *
5 * Copyright (C) 2004 MontaVista Software, Inc.
6 */
7#ifndef __ASM_ARM_MACH_TIME_H
8#define __ASM_ARM_MACH_TIME_H
9
10extern void timer_tick(void);
11
12typedef void (*clock_access_fn)(struct timespec64 *);
13extern int register_persistent_clock(clock_access_fn read_persistent);
14
15#endif
1/*
2 * arch/arm/include/asm/mach/time.h
3 *
4 * Copyright (C) 2004 MontaVista Software, Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10#ifndef __ASM_ARM_MACH_TIME_H
11#define __ASM_ARM_MACH_TIME_H
12
13extern void timer_tick(void);
14
15typedef void (*clock_access_fn)(struct timespec64 *);
16extern int register_persistent_clock(clock_access_fn read_boot,
17 clock_access_fn read_persistent);
18
19#endif