From: Grant Grundler Date: Sat, 22 Oct 2005 02:47:04 +0000 (-0400) Subject: [PARISC] Minor iosapic.c cleanup X-Git-Tag: v2.6.15-rc1~732^2^2~9^2~33 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3aa0862ce7c120e035bc2aa25997fd000d964d6e;p=linux-2.6 [PARISC] Minor iosapic.c cleanup minor cleanup: qualify constant with "UL" Acked-by: "Hmamouche, Youssef" Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin --- diff --git a/drivers/parisc/iosapic.c b/drivers/parisc/iosapic.c index 7a57c1b837..a39fbfef78 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; }