|
From: Avi K. <av...@qu...> - 2008-04-13 14:24:04
|
Jerone Young wrote: > - I am resending this patch removing ia64. It apprently fell through the cracks. > > Don't compile kvm_*_pit() on architectures whose currently supported platforms do not contain a PIT. > > Signed-off-by: Hollis Blanchard <ho...@us...> > Signed-off-by: Jerone Young <jy...@us...> > > diff --git a/libkvm/libkvm.h b/libkvm/libkvm.h > --- a/libkvm/libkvm.h > +++ b/libkvm/libkvm.h > @@ -549,6 +549,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 > * > @@ -569,6 +570,7 @@ int kvm_get_pit(kvm_context_t kvm, struc > * \param s PIT state of the virtual domain > */ > int kvm_set_pit(kvm_context_t kvm, struct kvm_pit_state *s); > +#endif > > #endif Patch is okay, but doesn't match the description at all. Is this what you intended to send? -- error compiling committee.c: too many arguments to function |