projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66953eb
)
powerpc/iseries: Fix constant warning
author
Denis Kirjanov
<
[email protected]
>
Wed, 16 Jun 2010 04:34:44 +0000
(
04:34
+0000)
committer
Benjamin Herrenschmidt
<
[email protected]
>
Fri, 9 Jul 2010 01:28:28 +0000
(11:28 +1000)
Fix smatch warning: constant 0x8000000000000000 is so big it is unsigned long
Signed-off-by: Denis Kirjanov <
[email protected]
>
Signed-off-by: Benjamin Herrenschmidt <
[email protected]
>
arch/powerpc/include/asm/abs_addr.h
patch
|
blob
|
history
diff --git
a/arch/powerpc/include/asm/abs_addr.h
b/arch/powerpc/include/asm/abs_addr.h
index 98324c5a82867cfa5ace5179de635220ab5d01a4..c3bffc3fa1deddd6c5898d6905c127bd2c0d4a7b 100644
(file)
--- a/
arch/powerpc/include/asm/abs_addr.h
+++ b/
arch/powerpc/include/asm/abs_addr.h
@@
-69,7
+69,7
@@
static inline unsigned long phys_to_abs(unsigned long pa)
* Legacy iSeries Hypervisor calls
*/
#define iseries_hv_addr(virtaddr) \
- (0x8000000000000000 | virt_to_abs(virtaddr))
+ (0x8000000000000000
UL
| virt_to_abs(virtaddr))
#endif /* __KERNEL__ */
#endif /* _ASM_POWERPC_ABS_ADDR_H */