Christian Borntraeger wrote: > Am Dienstag, 22. April 2008 schrieb Rusty Russell: > [...] > >> diff -r a098f19a6da5 include/linux/virtio_config.h >> --- a/include/linux/virtio_config.h Sun Apr 20 14:41:02 2008 +1000 >> +++ b/include/linux/virtio_config.h Sun Apr 20 15:07:45 2008 +1000 >> @@ -16,7 +16,7 @@ >> #define VIRTIO_CONFIG_S_FAILED 0x80 >> >> #ifdef __KERNEL__ >> -struct virtio_device; >> +#include <linux/virtio.h> >> > > I just realized, that this breaks make headers_check as we dont export > virtio.h (and we dont want to export it as it relies on scatterlist.h). > >
It's guarded by a #ifdef __KERNEL__, so it should be alright. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel