2011-02-07 19:19:26 +08: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.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2011-06-23 16:05:12 +08:00
|
|
|
#ifdef CONFIG_KVM
|
|
|
|
|
2011-02-07 19:19:26 +08:00
|
|
|
void kvmclock_create(void);
|
2011-06-23 16:05:12 +08:00
|
|
|
|
|
|
|
#else /* CONFIG_KVM */
|
|
|
|
|
|
|
|
static inline void kvmclock_create(void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* !CONFIG_KVM */
|