2011-02-07 12:19:26 +01:00
|
|
|
/*
|
|
|
|
* QEMU KVM support, paravirtual clock device
|
|
|
|
*
|
|
|
|
* Copyright (C) 2011 Siemens AG
|
|
|
|
*
|
|
|
|
* Authors:
|
|
|
|
* Jan Kiszka <jan.kiszka@siemens.com>
|
|
|
|
*
|
|
|
|
* This work is licensed under the terms of the GNU GPL version 2.
|
|
|
|
* See the COPYING file in the top-level directory.
|
|
|
|
*/
|
|
|
|
|
2019-06-04 20:16:18 +02:00
|
|
|
#ifndef HW_KVM_CLOCK_H
|
|
|
|
#define HW_KVM_CLOCK_H
|
|
|
|
|
2011-06-23 10:05:12 +02:00
|
|
|
#ifdef CONFIG_KVM
|
|
|
|
|
2011-02-07 12:19:26 +01:00
|
|
|
void kvmclock_create(void);
|
2011-06-23 10:05:12 +02:00
|
|
|
|
|
|
|
#else /* CONFIG_KVM */
|
|
|
|
|
|
|
|
static inline void kvmclock_create(void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* !CONFIG_KVM */
|
2019-06-04 20:16:18 +02:00
|
|
|
|
|
|
|
#endif
|