projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
413059f
)
[PARISC] Minor iosapic.c cleanup
author
Grant Grundler
<grundler@parisc-linux.org>
Sat, 22 Oct 2005 02:47:04 +0000
(22:47 -0400)
committer
Kyle 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
patch
|
blob
|
history
diff --git
a/drivers/parisc/iosapic.c
b/drivers/parisc/iosapic.c
index
7a57c1b
..
a39fbfe
100644
(file)
--- 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 + 7
UL) & ~7UL
;
return (struct irt_entry *)a;
}