repository: /home/vadimr/shares/kvm-guest-drivers-windows branch: master commit eca6d92722fc669d5b3fdb99182a0a8e3db6a38b Author: Vadim Rozenfeld<vrozenfe@xxxxxxxxxx> Date: Sun Oct 25 15:45:17 2009 +0200 [PATCH] viostor driver. fix broken xp build Signed-off-by: Vadim Rozenfeld<vrozenfe@xxxxxxxxxx> diff --git a/viostor/virtio_stor.c b/viostor/virtio_stor.c index 4c9fe27..ad7f005 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 majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html