summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2015-11-10 09:10:31 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-11-10 09:10:31 +1100
commitb7ef98011d49ea0628ace0ead312cbdf8abfa138 (patch)
tree7963e5fc222bfe67d45b49565a94d3f1afd94d3a /hw
parentc04a6b7261e8b56f744f39010168507704edfc65 (diff)
downloadtalos-skiboot-b7ef98011d49ea0628ace0ead312cbdf8abfa138.tar.gz
talos-skiboot-b7ef98011d49ea0628ace0ead312cbdf8abfa138.zip
sparse: fix warning constant is so big it is long in hw/psi.c
hw/psi.c:526:24: warning: constant 0x000000ff00000000 is so big it is long Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/psi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/psi.c b/hw/psi.c
index cb0dbabe..0823ec80 100644
--- a/hw/psi.c
+++ b/hw/psi.c
@@ -523,7 +523,7 @@ void psi_irq_reset(void)
list_for_each(&psis, psi, list) {
/* Mask the interrupt & clean the XIVR */
- xivr = 0x000000ff00000000;
+ xivr = 0x000000ff00000000UL;
xivr |= P7_IRQ_BUID(psi->interrupt) << 16;
out_be64(psi->regs + PSIHB_XIVR, xivr);
OpenPOWER on IntegriCloud