mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
[PARISC] Minor iosapic.c cleanup
minor cleanup: qualify constant with "UL" Acked-by: "Hmamouche, Youssef" <[email protected]> Signed-off-by: Grant Grundler <[email protected]> Signed-off-by: Kyle McMartin <[email protected]>
This commit is contained in:
parent
413059f28e
commit
3aa0862ce7
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue