Commit fa61a25f authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Fix two warnings on x86-64

From: Andi Kleen <ak@muc.de>

Just fix two warnings on x86-64 that were recently introduced (one by me
and the other by the sort extable changes)
parent a7f52de5
...@@ -55,5 +55,4 @@ void sort_extable(struct exception_table_entry *start, ...@@ -55,5 +55,4 @@ void sort_extable(struct exception_table_entry *start,
} }
} }
} while (change != 0); } while (change != 0);
return 0;
} }
...@@ -75,7 +75,7 @@ int __init k8_scan_nodes(unsigned long start, unsigned long end) ...@@ -75,7 +75,7 @@ int __init k8_scan_nodes(unsigned long start, unsigned long end)
continue; continue;
} }
if (nodeid >= numnodes) { if (nodeid >= numnodes) {
printk("Ignoring excess node %d (%x:%x)\n", nodeid, printk("Ignoring excess node %d (%lx:%lx)\n", nodeid,
base, limit); base, limit);
continue; continue;
} }
......
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