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] netfront accel: spinlock flags are 'u

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] netfront accel: spinlock flags are 'unsigned long'.
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 05 Dec 2007 16:20:23 -0800
Delivery-date: Wed, 05 Dec 2007 16:21:25 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/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 1196851426 0
# Node ID 4108b5c64f86845c10d56679378d5004777dff43
# Parent  ba918cb2cf7520604dee724dd80dad5ce4bee8a1
netfront accel: spinlock flags are 'unsigned long'.
Signed-off-by: Ben Guthro <bguthro@xxxxxxxxxxxxxxx>
---
 drivers/xen/netfront/accel.c |   28 ++++++++++++++--------------
 1 files changed, 14 insertions(+), 14 deletions(-)

diff -r ba918cb2cf75 -r 4108b5c64f86 drivers/xen/netfront/accel.c
--- a/drivers/xen/netfront/accel.c      Tue Dec 04 11:54:22 2007 +0000
+++ b/drivers/xen/netfront/accel.c      Wed Dec 05 10:43:46 2007 +0000
@@ -66,7 +66,7 @@ void netif_exit_accel(void)
 void netif_exit_accel(void)
 {
        struct netfront_accelerator *accelerator, *tmp;
-       unsigned flags;
+       unsigned long flags;
 
        spin_lock_irqsave(&accelerators_lock, flags);
 
@@ -115,7 +115,7 @@ static void add_accelerator_vif(struct n
 static void add_accelerator_vif(struct netfront_accelerator *accelerator,
                                struct netfront_info *np)
 {
-       unsigned flags;
+       unsigned long flags;
 
        /* Need lock to write list */
        spin_lock_irqsave(&accelerator->vif_states_lock, flags);
@@ -232,7 +232,7 @@ int netfront_load_accelerator(struct net
 {
        struct netfront_accelerator *accelerator;
        int rc = 0;
-       unsigned flags;
+       unsigned long flags;
 
        DPRINTK(" %s\n", frontend);
 
@@ -331,7 +331,7 @@ int netfront_accelerator_loaded(int vers
                                struct netfront_accel_hooks *hooks)
 {
        struct netfront_accelerator *accelerator;
-       unsigned flags;
+       unsigned long flags;
 
        if (version != NETFRONT_ACCEL_VERSION) {
                if (version > NETFRONT_ACCEL_VERSION) {
@@ -394,7 +394,7 @@ void netfront_accelerator_ready(const ch
 {
        struct netfront_accelerator *accelerator;
        struct netfront_accel_vif_state *accel_vif_state;
-       unsigned flags, flags1;
+       unsigned long flags, flags1;
 
        DPRINTK("%s %p\n", frontend, dev);
 
@@ -457,7 +457,7 @@ static void accelerator_remove_hooks(str
 {
        struct netfront_accel_hooks *hooks;
        struct netfront_accel_vif_state *vif_state, *tmp;
-       unsigned flags;
+       unsigned long flags;
 
        /* Mutex is held so don't need vif_states_lock to iterate list */
        list_for_each_entry_safe(vif_state, tmp,
@@ -491,7 +491,7 @@ void netfront_accelerator_stop(const cha
 void netfront_accelerator_stop(const char *frontend)
 {
        struct netfront_accelerator *accelerator;
-       unsigned flags;
+       unsigned long flags;
 
        mutex_lock(&accelerator_mutex);
        spin_lock_irqsave(&accelerators_lock, flags);
@@ -514,7 +514,7 @@ EXPORT_SYMBOL_GPL(netfront_accelerator_s
 
 /* Helper for call_remove and do_suspend */
 static int do_remove(struct netfront_info *np, struct xenbus_device *dev,
-                    unsigned *lock_flags)
+                    unsigned long *lock_flags)
 {
        struct netfront_accelerator *accelerator = np->accelerator;
        struct netfront_accel_hooks *hooks;
@@ -553,7 +553,7 @@ int netfront_accelerator_call_remove(str
 {
        struct netfront_accelerator *accelerator;
        struct netfront_accel_vif_state *tmp_vif_state;
-       unsigned flags;
+       unsigned long flags;
        int rc = 0; 
 
        mutex_lock(&accelerator_mutex);
@@ -588,7 +588,7 @@ int netfront_accelerator_suspend(struct 
 int netfront_accelerator_suspend(struct netfront_info *np,
                                 struct xenbus_device *dev)
 {
-       unsigned flags;
+       unsigned long flags;
        int rc = 0;
 
        mutex_lock(&accelerator_mutex);
@@ -650,7 +650,7 @@ void netfront_accelerator_resume(struct 
 {
        struct netfront_accel_vif_state *accel_vif_state = NULL;
        spinlock_t *vif_states_lock;
-       unsigned flags;
+       unsigned long flags;
  
        mutex_lock(&accelerator_mutex);
 
@@ -693,7 +693,7 @@ int netfront_check_accelerator_queue_rea
        struct netfront_accelerator *accelerator;
        struct netfront_accel_hooks *hooks;
        int rc = 1;
-       unsigned flags;
+       unsigned long flags;
 
        accelerator = np->accelerator;
 
@@ -715,7 +715,7 @@ void netfront_accelerator_call_stop_napi
 {
        struct netfront_accelerator *accelerator;
        struct netfront_accel_hooks *hooks;
-       unsigned flags;
+       unsigned long flags;
 
        accelerator = np->accelerator;
 
@@ -735,7 +735,7 @@ int netfront_accelerator_call_get_stats(
 {
        struct netfront_accelerator *accelerator;
        struct netfront_accel_hooks *hooks;
-       unsigned flags;
+       unsigned long flags;
        int rc = 0;
 
        accelerator = np->accelerator;

_______________________________________________
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] netfront accel: spinlock flags are 'unsigned long'., Xen patchbot-linux-2.6.18-xen <=