[PARISC] Minor iosapic.c cleanup
authorGrant Grundler <grundler@parisc-linux.org>
Sat, 22 Oct 2005 02:47:04 +0000 (22:47 -0400)
committerKyle McMartin <kyle@parisc-linux.org>
Sat, 22 Oct 2005 02:47:04 +0000 (22:47 -0400)
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>
drivers/parisc/iosapic.c

index 7a57c1b8373f04438a996f05242c8070651c481b..a39fbfef789a9ad6783d4da67f47eef6b4eb2d68 100644 (file)
@@ -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;
 }