diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-06 08:56:52 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-01-08 00:25:16 -0500 |
commit | 2b931fb67e10d6eb99d9928fa3afe83cdeeb7354 (patch) | |
tree | 472426c14bd21c9a9876f064461af51a9e19a799 /arch/powerpc | |
parent | 63277161312dd42af7dd3968077b272d192dd6ba (diff) |
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>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/kernel/prom_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c index 2445945d3761..7f1b33d5e30d 100644 --- a/arch/powerpc/kernel/prom_init.c +++ b/arch/powerpc/kernel/prom_init.c | |||
@@ -1210,7 +1210,7 @@ static void __init prom_initialize_tce_table(void) | |||
1210 | /* Initialize the table to have a one-to-one mapping | 1210 | /* Initialize the table to have a one-to-one mapping |
1211 | * over the allocated size. | 1211 | * over the allocated size. |
1212 | */ | 1212 | */ |
1213 | tce_entryp = (unsigned long *)base; | 1213 | tce_entryp = (u64 *)base; |
1214 | for (i = 0; i < (minsize >> 3) ;tce_entryp++, i++) { | 1214 | for (i = 0; i < (minsize >> 3) ;tce_entryp++, i++) { |
1215 | tce_entry = (i << PAGE_SHIFT); | 1215 | tce_entry = (i << PAGE_SHIFT); |
1216 | tce_entry |= 0x3; | 1216 | tce_entry |= 0x3; |