Message ID | 20140507131907.GA1655@ERROL.INI.CMU.EDU (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Il 07/05/2014 15:19, Gabriel L. Somlo ha scritto: > On Wed, May 07, 2014 at 08:29:19AM +0200, Jan Kiszka wrote: >> On 2014-05-06 20:35, gsomlo@gmail.com wrote: >>> Signed-off-by: Gabriel Somlo <somlo@cmu.edu> >>> --- >>> >>> Jan, >>> >>> After today's pull from kvm, I also need this to build against my >>> Fedora 20 kernel (3.13.10-200.fc20.x86_64). >> >> Which version did you pull? Neither next nor queue contain this change yet. > > I have 89ca3b881987f5a4be4c5dbaa7f0df12bbdde2fd (Linux 3.15-rc4) as > the top commit. > >> Right now I'm seeing different build problems: >> >> http://buildbot.kiszka.org/kvm-kmod/builders/4-latest-kvm/builds/1788/steps/3.11-x86-64/logs/stdio >> >> Didn't look into details yet. > > That's kernel 3.11, afaict, so entirely different problem :) Probably time to kill srcu.c altogether, since it's available on 2.6.19. Paolo -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/external-module-compat-comm.h b/external-module-compat-comm.h index 086127d..94b18cc 100644 --- a/external-module-compat-comm.h +++ b/external-module-compat-comm.h @@ -1401,3 +1401,11 @@ static inline void guest_exit(void) #if LINUX_VERSION_CODE < KERNEL_VERSION(3,13,0) static inline void smp_mb__after_srcu_read_unlock(void) {} #endif + +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,14,0) +static inline int pci_enable_msix_exact(struct pci_dev *dev, + struct msix_entry *entries, int nvec) +{ + return -ENOSYS; +} +#endif