Skip to contentSkip to conversation

viostor driver. fix broken xp build

PATCH New Vadim Rozenfeld 1 participant 1 message Oct 25, 2009 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 viostor driver. fix broken xp build

repository: /home/vadimr/shares/kvm-guest-drivers-windows
branch: master
commit eca6d92722fc669d5b3fdb99182a0a8e3db6a38b

Author: Vadim Rozenfeld<[email protected]>
Date:   Sun Oct 25 15:45:17 2009 +0200

[PATCH] viostor driver. fix broken xp build

viostor/virtio_stor.c +2 -1
index 4c9fe27..ad7f005 100644
@@ -1133,7 +1133,7 @@ CompleteDPC(
     CompleteSRB(DeviceExtension, Srb);
 }
 
-
+#ifdef USE_STORPORT
 VOID
 CompleteDpcRoutine(
     IN PSTOR_DPC  Dpc,
@@ -1182,3 +1182,4 @@ CompleteDpcRoutine(
     }
     return;
 }
+#endif
viostor/virtio_stor.h +2 -0
index 221c653..063c1d1 100644
@@ -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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html