diff options
author | Jerone Young <jyoung5@us.ibm.com> | 2008-04-08 17:15:07 -0500 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-04-15 10:25:26 +0300 |
commit | 0c75e47fc8cf86aa0fea8aefaa015356f039136e (patch) | |
tree | 2d38da54f1c40be84c610854cd6e282a92d59747 /libkvm | |
parent | e665b723bd12c01068879fe8106a8108b070c653 (diff) |
kvm: libkvm: remove declarations of kvm_*_pit() on non-x86
These do not have a PIT.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'libkvm')
-rw-r--r-- | libkvm/libkvm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libkvm/libkvm.h b/libkvm/libkvm.h index 5a522e30..31c0d597 100644 --- a/libkvm/libkvm.h +++ b/libkvm/libkvm.h @@ -565,6 +565,7 @@ int kvm_pit_in_kernel(kvm_context_t kvm); #ifdef KVM_CAP_PIT +#if defined(__i386__) || defined(__x86_64__) /*! * \brief Get in kernel PIT of the virtual domain * @@ -585,6 +586,7 @@ int kvm_get_pit(kvm_context_t kvm, struct kvm_pit_state *s); * \param s PIT state of the virtual domain */ int kvm_set_pit(kvm_context_t kvm, struct kvm_pit_state *s); +#endif #endif |