diff options
-rw-r--r-- | arch/x86_64/kernel/pci-calgary.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/pci-calgary.c b/arch/x86_64/kernel/pci-calgary.c index d2ea87a95268..f53b581dfd0b 100644 --- a/arch/x86_64/kernel/pci-calgary.c +++ b/arch/x86_64/kernel/pci-calgary.c | |||
@@ -740,7 +740,7 @@ static void __init calgary_increase_split_completion_timeout(void __iomem *bbar, | |||
740 | { | 740 | { |
741 | u64 val64; | 741 | u64 val64; |
742 | void __iomem *target; | 742 | void __iomem *target; |
743 | unsigned long phb_shift = -1; | 743 | unsigned int phb_shift = ~0; /* silence gcc */ |
744 | u64 mask; | 744 | u64 mask; |
745 | 745 | ||
746 | switch (busno_to_phbid(busnum)) { | 746 | switch (busno_to_phbid(busnum)) { |