mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
powerpc: Change u64/s64 to a long long integer type
Convert arch/powerpc/ over to long long based u64: -#ifdef __powerpc64__ -# include <asm-generic/int-l64.h> -#else -# include <asm-generic/int-ll64.h> -#endif +#include <asm-generic/int-ll64.h> This will avoid reoccuring spurious warnings in core kernel code that comes when people test on their own hardware. (i.e. x86 in ~98% of the cases) This is what x86 uses and it generally helps keep 64-bit code 32-bit clean too. [Adjusted to not impact user mode (from paulus) - sfr] Signed-off-by: Ingo Molnar <[email protected]> Signed-off-by: Stephen Rothwell <[email protected]> Signed-off-by: Benjamin Herrenschmidt <[email protected]>
This commit is contained in:
parent
66c721e184
commit
fe333321e2
20 changed files with 70 additions and 66 deletions
|
|
@ -297,7 +297,7 @@ static int __devinit electra_cf_probe(struct of_device *ofdev,
|
|||
goto fail3;
|
||||
}
|
||||
|
||||
dev_info(device, "at mem 0x%lx io 0x%lx irq %d\n",
|
||||
dev_info(device, "at mem 0x%lx io 0x%llx irq %d\n",
|
||||
cf->mem_phys, io.start, cf->irq);
|
||||
|
||||
cf->active = 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue