mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2024-12-28 16:52:18 +00:00
b152688c91
The clocksource pointer in struct system_counterval_t is not evaluated any more. Remove the code setting the member, and the member itself. Signed-off-by: Peter Hilber <peter.hilber@opensynergy.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20240201010453.2212371-8-peter.hilber@opensynergy.com
23 lines
505 B
C
23 lines
505 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* Virtual PTP 1588 clock for use with KVM guests
|
|
*
|
|
* Copyright (C) 2017 Red Hat Inc.
|
|
*/
|
|
|
|
#ifndef _PTP_KVM_H_
|
|
#define _PTP_KVM_H_
|
|
|
|
#include <linux/clocksource_ids.h>
|
|
#include <linux/types.h>
|
|
|
|
struct timespec64;
|
|
|
|
int kvm_arch_ptp_init(void);
|
|
void kvm_arch_ptp_exit(void);
|
|
int kvm_arch_ptp_get_clock(struct timespec64 *ts);
|
|
int kvm_arch_ptp_get_crosststamp(u64 *cycle,
|
|
struct timespec64 *tspec, enum clocksource_ids *cs_id);
|
|
|
|
#endif /* _PTP_KVM_H_ */
|