Re: [PATCH v2] kvm-vfio: do not use module_init

From: Paolo Bonzini
Date: Wed Sep 24 2014 - 08:07:51 EST


Il 24/09/2014 14:05, Will Deacon ha scritto:
>> > +#ifdef CONFIG_KVM_VFIO
>> > +#include "vfio.h"
>> > +#endif
> Can't you include this unconditionally, then have the #ifdef in the header
> and a static inline kvm_vfio_ops_init that returns 0?

Yup. What was I thinking...

Paolo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/