]> git.pld-linux.org Git - packages/kernel.git/commitdiff
- avoid local_nodeid conflict with ia64/numa define
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 30 Aug 2004 06:33:53 +0000 (06:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    linux-cluster-dlm.patch -> 1.2

linux-cluster-dlm.patch

index 5f51760416412d28f614b856aa6eb50e3b07ca91..65da540363d2768ea84af8dc41e95efd1870357c 100644 (file)
@@ -8443,7 +8443,7 @@ diff -urN linux-orig/cluster/dlm/nodes.c linux-patched/cluster/dlm/nodes.c
 +
 +static struct list_head cluster_nodes;
 +static spinlock_t node_lock;
-+static uint32_t local_nodeid;
++static uint32_t dlm_local_nodeid;
 +static struct semaphore local_init_lock;
 +
 +
@@ -8451,7 +8451,7 @@ diff -urN linux-orig/cluster/dlm/nodes.c linux-patched/cluster/dlm/nodes.c
 +{
 +      INIT_LIST_HEAD(&cluster_nodes);
 +      spin_lock_init(&node_lock);
-+      local_nodeid = 0;
++      dlm_local_nodeid = 0;
 +      init_MUTEX(&local_init_lock);
 +}
 +
@@ -8544,9 +8544,9 @@ diff -urN linux-orig/cluster/dlm/nodes.c linux-patched/cluster/dlm/nodes.c
 +
 +      down(&local_init_lock);
 +
-+      if (!local_nodeid) {
++      if (!dlm_local_nodeid) {
 +              if (nodeid == our_nodeid()) {
-+                      local_nodeid = node->gn_nodeid;
++                      dlm_local_nodeid = node->gn_nodeid;
 +              }
 +      }
 +      up(&local_init_lock);
This page took 0.109589 seconds and 4 git commands to generate.