]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Fix two warnings on x86-64
authorAndrew Morton <akpm@osdl.org>
Wed, 28 Jan 2004 07:54:15 +0000 (23:54 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 28 Jan 2004 07:54:15 +0000 (23:54 -0800)
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)

arch/x86_64/mm/extable.c
arch/x86_64/mm/k8topology.c

index 39f7d6df69785ee515c8b551865bc6d2e2ec876c..7e039db623a036a187012c120f2dc9cee34708da 100644 (file)
@@ -55,5 +55,4 @@ void sort_extable(struct exception_table_entry *start,
                        }
                }
        } while (change != 0);
-       return 0;
 }
index 37f31b397d7b600bbdb73b62170372be72207587..2f909cd0d65a9b9f0f047b21d99a56cc0d283bc7 100644 (file)
@@ -75,7 +75,7 @@ int __init k8_scan_nodes(unsigned long start, unsigned long end)
                        continue;
                } 
                if (nodeid >= numnodes) { 
-                       printk("Ignoring excess node %d (%x:%x)\n", nodeid, 
+                       printk("Ignoring excess node %d (%lx:%lx)\n", nodeid,
                               base, limit); 
                        continue;
                }