aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/sgi-xp/xpc_partition.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/sgi-xp/xpc_partition.c')
-rw-r--r--drivers/misc/sgi-xp/xpc_partition.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/misc/sgi-xp/xpc_partition.c b/drivers/misc/sgi-xp/xpc_partition.c
index ca6784f5597..70d4a00c972 100644
--- a/drivers/misc/sgi-xp/xpc_partition.c
+++ b/drivers/misc/sgi-xp/xpc_partition.c
@@ -133,7 +133,7 @@ xpc_setup_rsvd_page(void)
133{ 133{
134 struct xpc_rsvd_page *rp; 134 struct xpc_rsvd_page *rp;
135 u64 rp_pa; 135 u64 rp_pa;
136 unsigned long new_stamp; 136 unsigned long new_ts_jiffies;
137 137
138 /* get the local reserved page's address */ 138 /* get the local reserved page's address */
139 139
@@ -183,10 +183,10 @@ xpc_setup_rsvd_page(void)
183 * This signifies to the remote partition that our reserved 183 * This signifies to the remote partition that our reserved
184 * page is initialized. 184 * page is initialized.
185 */ 185 */
186 new_stamp = jiffies; 186 new_ts_jiffies = jiffies;
187 if (new_stamp == 0 || new_stamp == rp->stamp) 187 if (new_ts_jiffies == 0 || new_ts_jiffies == rp->ts_jiffies)
188 new_stamp++; 188 new_ts_jiffies++;
189 rp->stamp = new_stamp; 189 rp->ts_jiffies = new_ts_jiffies;
190 190
191 return rp; 191 return rp;
192} 192}
@@ -225,8 +225,8 @@ xpc_get_remote_rp(int nasid, unsigned long *discovered_nasids,
225 discovered_nasids[l] |= remote_part_nasids[l]; 225 discovered_nasids[l] |= remote_part_nasids[l];
226 } 226 }
227 227
228 /* see if the reserved page has been set up by XPC */ 228 /* zero timestamp indicates the reserved page has not been setup */
229 if (remote_rp->stamp == 0) 229 if (remote_rp->ts_jiffies == 0)
230 return xpRsvdPageNotSet; 230 return xpRsvdPageNotSet;
231 231
232 if (XPC_VERSION_MAJOR(remote_rp->version) != 232 if (XPC_VERSION_MAJOR(remote_rp->version) !=