From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vadim Rozenfeld Subject: [PATCH] viostor driver. fix broken xp build Date: Sun, 25 Oct 2009 15:47:36 +0200 Message-ID: <4AE456F8.5080309@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:28736 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752637AbZJYNri (ORCPT ); Sun, 25 Oct 2009 09:47:38 -0400 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9PDlhpo022276 for ; Sun, 25 Oct 2009 09:47:44 -0400 Received: from localhost.localdomain (vpn-10-2.str.redhat.com [10.32.10.2]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n9PDlcJQ002297 for ; Sun, 25 Oct 2009 09:47:42 -0400 Sender: kvm-owner@vger.kernel.org List-ID: repository: /home/vadimr/shares/kvm-guest-drivers-windows branch: master commit eca6d92722fc669d5b3fdb99182a0a8e3db6a38b Author: Vadim Rozenfeld Date: Sun Oct 25 15:45:17 2009 +0200 [PATCH] viostor driver. fix broken xp build Signed-off-by: Vadim Rozenfeld 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