WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [linux-2.6.18-xen] pciback: Replace commented-out use of

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] pciback: Replace commented-out use of dev->enable_cnt with dev->is_enabled.
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 01 Mar 2010 02:25:02 -0800
Delivery-date: Mon, 01 Mar 2010 02:25:50 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1267438781 0
# Node ID f66d155ce457dab7a191bc199e878c07c2d2aead
# Parent  791c320be0ba3c1426c3c3a2fb3edd979fc4f8df
pciback: Replace commented-out use of dev->enable_cnt with dev->is_enabled.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 drivers/xen/pciback/conf_space_header.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 791c320be0ba -r f66d155ce457 drivers/xen/pciback/conf_space_header.c
--- a/drivers/xen/pciback/conf_space_header.c   Mon Mar 01 09:56:52 2010 +0000
+++ b/drivers/xen/pciback/conf_space_header.c   Mon Mar 01 10:19:41 2010 +0000
@@ -24,8 +24,8 @@ static int command_read(struct pci_dev *
        int ret;
 
        ret = pciback_read_config_word(dev, offset, value, data);
-       /*if (!atomic_read(&dev->enable_cnt))
-               return ret;*/
+       if (!dev->is_enabled)
+               return ret;
 
        for (i = 0; i < PCI_ROM_RESOURCE; i++) {
                if (dev->resource[i].flags & IORESOURCE_IO)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] pciback: Replace commented-out use of dev->enable_cnt with dev->is_enabled., Xen patchbot-linux-2.6.18-xen <=