Skip to content

Commit

Permalink
[POWERPC] prom_init whitespace cleanup, typo fix
Browse files Browse the repository at this point in the history
Whitespace cleanup: badly indented lines.
Typo in comment.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Linas Vepstas authored and Paul Mackerras committed Sep 13, 2007
1 parent bde6c6e commit e788ff1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions arch/powerpc/kernel/prom_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -1199,7 +1199,7 @@ static void __init prom_initialize_tce_table(void)
if ((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) &&
Expand Down Expand Up @@ -2231,7 +2231,7 @@ static void __init fixup_device_tree(void)

static 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;
Expand All @@ -2251,7 +2251,7 @@ static void __init prom_find_boot_cpu(void)
static 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;
Expand Down Expand Up @@ -2284,7 +2284,7 @@ unsigned long __init prom_init(unsigned long r3, unsigned long r4,
unsigned long pp,
unsigned long r6, unsigned long r7)
{
struct prom_t *_prom;
struct prom_t *_prom;
unsigned long hdr;
unsigned long offset = reloc_offset();

Expand Down Expand Up @@ -2343,8 +2343,8 @@ unsigned long __init prom_init(unsigned long r3, unsigned long r4,
/*
* 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
Expand Down

0 comments on commit e788ff1

Please sign in to comment.