mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
![Jakub Kicinski](/assets/img/avatar_default.png)
Similarly to a recent include/net/ cleanup, this patch adds missing includes to networking headers under include/linux. All these problems are currently masked by the existing users including the missing dependency before the broken header. Link: https://lore.kernel.org/all/20220723045755.2676857-1-kuba@kernel.org/ v1 Signed-off-by: Jakub Kicinski <kuba@kernel.org> Link: https://lore.kernel.org/r/20220726215652.158167-1-kuba@kernel.org Signed-off-by: Paolo Abeni <pabeni@redhat.com>
21 lines
456 B
C
21 lines
456 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/types.h>
|
|
|
|
struct timespec64;
|
|
struct clocksource;
|
|
|
|
int kvm_arch_ptp_init(void);
|
|
int kvm_arch_ptp_get_clock(struct timespec64 *ts);
|
|
int kvm_arch_ptp_get_crosststamp(u64 *cycle,
|
|
struct timespec64 *tspec, struct clocksource **cs);
|
|
|
|
#endif /* _PTP_KVM_H_ */
|