powerpc: prom_init whitespace cleanup, typo fix.
PATCH 1/1 powerpc: prom_init whitespace cleanup, typo fix.
Whitespace cleanup: badly indented lines.
Typo in comment.
Signed-off-by Linas Vepstas <[email protected]>
---
Yeah, OK, so the patch is lame. Stuff caught my eye while reading code.
arch/powerpc/kernel/prom_init.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
arch/powerpc/kernel/prom_init.c +6 -6
@@ -1197,7 +1197,7 @@ static void __init prom_initialize_tce_tif ((type[0 ] ==0 ) || (strstr (type,RELOC ("pci" )) ==NULL ))continue ; -/* Keep the old logic in tack to avoid regression. */ +/* Keep the old logic intact to avoid regression. */ if (compatible[0 ] !=0 ) { if ((strstr(compatible, RELOC("python")) == NULL) && (strstr(compatible, RELOC("Speedwagon")) == NULL) &&
@@ -2224,7 +2224,7 @@ static void __init fixup_device_tree(voistatic void __init prom_find_boot_cpu (void ) { -struct prom_t *_prom = &RELOC (prom); +struct prom_t *_prom = &RELOC (prom);u32 getprop_rval;ihandle prom_cpu;phandle cpu_pkg;
@@ -2244,7 +2244,7 @@ static void __init prom_find_boot_cpu(vostatic void __init prom_check_initrd (unsigned long r3,unsigned long r4) {#ifdef CONFIG_BLK_DEV_INITRD -struct prom_t *_prom = &RELOC (prom); +struct prom_t *_prom = &RELOC (prom);if (r3 && r4 && r4 !=0xdeadbeef ) {unsigned long val;
@@ -2277,7 +2277,7 @@ unsigned long __init prom_init(unsignedunsigned long pp, unsigned long r6, unsigned long r7) { - struct prom_t *_prom; + struct prom_t *_prom;unsigned long hdr;unsigned long offset =reloc_offset ();
@@ -2336,8 +2336,8 @@ unsigned long __init prom_init(unsigned/* * Copy the CPU hold code */ -if (RELOC (of_platform) !=PLATFORM_POWERMAC ) -copy_and_flush (0 ,KERNELBASE + offset,0x100 ,0 ); +if (RELOC (of_platform) !=PLATFORM_POWERMAC ) +copy_and_flush (0 ,KERNELBASE + offset,0x100 ,0 );/* * Do early parsing of command line