[MIPS] Put cast inside macro instead of all the callers
commit48ef2626aeecac3b160d1aee38ac46d6c3540122
authorAndrew Sharp <andy.sharp@onstor.com>
Wed, 31 Oct 2007 21:11:24 +0000 (31 14:11 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 29 Jan 2008 10:14:55 +0000 (29 10:14 +0000)
treee9b18c973f8fa2a18be20f51e6de7b828e0cd2d2
parent2206583dd5e370c3c3a30f7e67272e44abab9093
[MIPS] Put cast inside macro instead of all the callers

Since all the callers of the PHYS_TO_XKPHYS macro call with a constant,
put the cast to LL inside the macro where it really should be rather
than in all the callers.  This makes macros like PHYS_TO_XKSEG_UNCACHED
work without gcc whining.

Signed-off-by: Andrew Sharp <andy.sharp@onstor.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/lib/uncached.c
include/asm-mips/addrspace.h