]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] calgary: phb_shift can be int
authorMuli Ben-Yehuda <muli@il.ibm.com>
Thu, 7 Dec 2006 01:14:06 +0000 (02:14 +0100)
committerAndi Kleen <andi@basil.nowhere.org>
Thu, 7 Dec 2006 01:14:06 +0000 (02:14 +0100)
Signed-off-by: Muli Ben-Yehuda <muli@il.ibm.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/x86_64/kernel/pci-calgary.c

index d2ea87a95268236436577db0bfd84c5922dc36ed..f53b581dfd0b6c35c6788874be150ee1bebf7d01 100644 (file)
@@ -740,7 +740,7 @@ static void __init calgary_increase_split_completion_timeout(void __iomem *bbar,
 {
        u64 val64;
        void __iomem *target;
-       unsigned long phb_shift = -1;
+       unsigned int phb_shift = ~0; /* silence gcc */
        u64 mask;
 
        switch (busno_to_phbid(busnum)) {