]> err.no Git - linux-2.6/commitdiff
[ARM] 3553/1: S3C24XX: earlier print of cpu idcode info
authorBen Dooks <ben-linux@fluff.org>
Sun, 18 Jun 2006 15:21:53 +0000 (16:21 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 18 Jun 2006 15:21:53 +0000 (16:21 +0100)
Patch from Ben Dooks

Move the printk of the CPU information and IDCODE
before the checking of the table entry validity
to aide in debugging new cpu entries.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-s3c2410/cpu.c

index 70c34fcf78586c6cba26ca01675078a64baf0ea3..987d34c9ea99ff0df4d3a224b23c9aeda114f4cb 100644 (file)
@@ -175,13 +175,13 @@ void __init s3c24xx_init_io(struct map_desc *mach_desc, int size)
                panic("Unknown S3C24XX CPU");
        }
 
+       printk("CPU %s (id 0x%08lx)\n", cpu->name, idcode);
+
        if (cpu->map_io == NULL || cpu->init == NULL) {
                printk(KERN_ERR "CPU %s support not enabled\n", cpu->name);
                panic("Unsupported S3C24XX CPU");
        }
 
-       printk("CPU %s (id 0x%08lx)\n", cpu->name, idcode);
-
        (cpu->map_io)(mach_desc, size);
 }