summaryrefslogtreecommitdiffstats
path: root/drivers/parisc
diff options
context:
space:
mode:
authorGrant Grundler <grundler@parisc-linux.org>2005-10-21 22:47:04 -0400
committerKyle McMartin <kyle@parisc-linux.org>2005-10-21 22:47:04 -0400
commit3aa0862ce7c120e035bc2aa25997fd000d964d6e (patch)
tree2e477339f4d91467fbcaa3c873776e759fb7942f /drivers/parisc
parent413059f28e9949d9ad2d04d1070c63169798176e (diff)
downloadkernel-crypto-3aa0862ce7c120e035bc2aa25997fd000d964d6e.tar.gz
kernel-crypto-3aa0862ce7c120e035bc2aa25997fd000d964d6e.tar.xz
kernel-crypto-3aa0862ce7c120e035bc2aa25997fd000d964d6e.zip
[PARISC] Minor iosapic.c cleanup
minor cleanup: qualify constant with "UL" Acked-by: "Hmamouche, Youssef" <youssef@ece.utexas.edu> Signed-off-by: Grant Grundler <grundler@parisc-linux.org> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'drivers/parisc')
-rw-r--r--drivers/parisc/iosapic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/parisc/iosapic.c b/drivers/parisc/iosapic.c
index 7a57c1b8373..a39fbfef789 100644
--- a/drivers/parisc/iosapic.c
+++ b/drivers/parisc/iosapic.c
@@ -244,7 +244,7 @@ static struct irt_entry *iosapic_alloc_irt(int num_entries)
* 4-byte alignment on 32-bit kernels
*/
a = (unsigned long)kmalloc(sizeof(struct irt_entry) * num_entries + 8, GFP_KERNEL);
- a = (a + 7) & ~7;
+ a = (a + 7UL) & ~7UL;
return (struct irt_entry *)a;
}