Commit 3aa0862c authored by Grant Grundler's avatar Grant Grundler Committed by Kyle McMartin

[PARISC] Minor iosapic.c cleanup

minor cleanup: qualify constant with "UL"
Acked-by: default avatar"Hmamouche, Youssef" <youssef@ece.utexas.edu>
Signed-off-by: default avatarGrant Grundler <grundler@parisc-linux.org>
Signed-off-by: default avatarKyle McMartin <kyle@parisc-linux.org>
parent 413059f2
...@@ -244,7 +244,7 @@ static struct irt_entry *iosapic_alloc_irt(int num_entries) ...@@ -244,7 +244,7 @@ static struct irt_entry *iosapic_alloc_irt(int num_entries)
* 4-byte alignment on 32-bit kernels * 4-byte alignment on 32-bit kernels
*/ */
a = (unsigned long)kmalloc(sizeof(struct irt_entry) * num_entries + 8, GFP_KERNEL); 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; return (struct irt_entry *)a;
} }
......
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