* [PATCH] viostor driver. fix broken xp build
@ 2009-10-25 13:47 Vadim Rozenfeld
0 siblings, 0 replies; only message in thread
From: Vadim Rozenfeld @ 2009-10-25 13:47 UTC (permalink / raw)
To: kvm
repository: /home/vadimr/shares/kvm-guest-drivers-windows
branch: master
commit eca6d92722fc669d5b3fdb99182a0a8e3db6a38b
Author: Vadim Rozenfeld<vrozenfe@redhat.com>
Date: Sun Oct 25 15:45:17 2009 +0200
[PATCH] viostor driver. fix broken xp build
Signed-off-by: Vadim Rozenfeld<vrozenfe@redhat.com>
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-10-25 13:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-25 13:47 [PATCH] viostor driver. fix broken xp build Vadim Rozenfeld
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.