Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc: Use correct type in prom_init.c

tce_entryp is a "u64 *" not an "unsigned long *".

[Split from a large patch -sfr]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

authored by

Ingo Molnar and committed by
Benjamin Herrenschmidt
2b931fb6 63277161

+1 -1
+1 -1
arch/powerpc/kernel/prom_init.c
··· 1210 1210 /* Initialize the table to have a one-to-one mapping 1211 1211 * over the allocated size. 1212 1212 */ 1213 - tce_entryp = (unsigned long *)base; 1213 + tce_entryp = (u64 *)base; 1214 1214 for (i = 0; i < (minsize >> 3) ;tce_entryp++, i++) { 1215 1215 tce_entry = (i << PAGE_SHIFT); 1216 1216 tce_entry |= 0x3;