mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-20 08:40:47 +00:00
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>
This commit is contained in:
parent
6327716131
commit
2b931fb67e
@ -1210,7 +1210,7 @@ static void __init prom_initialize_tce_table(void)
|
||||
/* Initialize the table to have a one-to-one mapping
|
||||
* over the allocated size.
|
||||
*/
|
||||
tce_entryp = (unsigned long *)base;
|
||||
tce_entryp = (u64 *)base;
|
||||
for (i = 0; i < (minsize >> 3) ;tce_entryp++, i++) {
|
||||
tce_entry = (i << PAGE_SHIFT);
|
||||
tce_entry |= 0x3;
|
||||
|
Loading…
x
Reference in New Issue
Block a user