Commit 58db8548 authored by Muli Ben-Yehuda's avatar Muli Ben-Yehuda Committed by Andi Kleen

[PATCH] calgary: phb_shift can be int

Signed-off-by: default avatarMuli Ben-Yehuda <muli@il.ibm.com>
Signed-off-by: default avatarJon Mason <jdmason@kudzu.us>
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
parent cef518e8
...@@ -740,7 +740,7 @@ static void __init calgary_increase_split_completion_timeout(void __iomem *bbar, ...@@ -740,7 +740,7 @@ static void __init calgary_increase_split_completion_timeout(void __iomem *bbar,
{ {
u64 val64; u64 val64;
void __iomem *target; void __iomem *target;
unsigned long phb_shift = -1; unsigned int phb_shift = ~0; /* silence gcc */
u64 mask; u64 mask;
switch (busno_to_phbid(busnum)) { switch (busno_to_phbid(busnum)) {
......
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