repository: C:/dev/kvm-guest-drivers-windows branch: master commit c7cdb8057a9c2fe711180e69193bfaf1a3748e86 Author: Yan Vugenfirer <yvuge...@redhat.com> Date: Sun Oct 25 16:12:27 2009 +0200
[WIN-GUEST-DRIVERS] viostor. Fix broken XP build Signed-off-by: Vadim Rozenfeld <vroze...@redhat.com> diff --git a/viostor/virtio_stor.c b/viostor/virtio_stor.c index 8457185..a3c7458 100644 --- a/viostor/virtio_stor.c +++ b/viostor/virtio_stor.c @@ -1133,7 +1133,7 @@ CompleteDPC( CompleteSRB(DeviceExtension, Srb); } - +#ifdef USE_STORPORT VOID CompleteDpcRoutine( IN PSTOR_DPC Dpc, @@ -1182,3 +1182,4 @@ CompleteDpcRoutine( } return; } +#endif diff --git a/viostor/virtio_stor.h b/viostor/virtio_stor.h index 221c653..063c1d1 100644 --- a/viostor/virtio_stor.h +++ b/viostor/virtio_stor.h @@ -103,7 +103,9 @@ typedef struct _ADAPTER_EXTENSION { BOOLEAN dump_mode; LIST_ENTRY list_head; LIST_ENTRY complete_list; +#ifdef USE_STORPORT STOR_DPC completion_dpc; +#endif BOOLEAN has_sn; ULONG msix_vectors; }ADAPTER_EXTENSION, *PADAPTER_EXTENSION; -- To unsubscribe from this list: send the line "unsubscribe kvm-commits" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html