Commit 1f5d4d3d authored by Andrew Morton's avatar Andrew Morton Committed by Greg Kroah-Hartman

[PATCH] memblks compile fixes

From: jbarnes@sgi.com (Jesse Barnes)

Looks like Jes forgot missed some conversions in his NR_MEMBLKS removal
patch.  Here's are the fixes to get ia64 going again.
parent db7e3376
...@@ -136,7 +136,7 @@ pxm_to_nasid(int pxm) ...@@ -136,7 +136,7 @@ pxm_to_nasid(int pxm)
int nid; int nid;
nid = pxm_to_nid_map[pxm]; nid = pxm_to_nid_map[pxm];
for (i = 0; i < num_memblks; i++) { for (i = 0; i < num_node_memblks; i++) {
if (node_memblk[i].nid == nid) { if (node_memblk[i].nid == nid) {
return NASID_GET(node_memblk[i].start_paddr); return NASID_GET(node_memblk[i].start_paddr);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment