Commit 2b931fb67e10d6eb99d9928fa3afe83cdeeb7354
Committed by
Benjamin Herrenschmidt
1 parent
6327716131
Exists in
master
and in
7 other branches
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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
arch/powerpc/kernel/prom_init.c
... | ... | @@ -1210,7 +1210,7 @@ |
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; |