Commit cc5aa206 authored by Paul Mackerras's avatar Paul Mackerras

powerpc: Remove debug messages from setup_64.c

A bunch of printks were left in arch/powerpc/kernel/setup_64.c from
when I was chasing a bug.  This removes them.
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent abc244dd
...@@ -567,14 +567,11 @@ void __init setup_system(void) ...@@ -567,14 +567,11 @@ void __init setup_system(void)
*/ */
rtas_initialize(); rtas_initialize();
#endif /* CONFIG_PPC_RTAS */ #endif /* CONFIG_PPC_RTAS */
printk("%s:%d rtas.dev=%p (@ %p)\n", __FILE__, __LINE__, rtas.dev,
&rtas.dev);
/* /*
* Check if we have an initrd provided via the device-tree * Check if we have an initrd provided via the device-tree
*/ */
check_for_initrd(); check_for_initrd();
printk("%s:%d rtas.dev=%p\n", __FILE__, __LINE__, rtas.dev);
/* /*
* Do some platform specific early initializations, that includes * Do some platform specific early initializations, that includes
...@@ -582,14 +579,12 @@ void __init setup_system(void) ...@@ -582,14 +579,12 @@ void __init setup_system(void)
* related options that will be used by finish_device_tree() * related options that will be used by finish_device_tree()
*/ */
ppc_md.init_early(); ppc_md.init_early();
printk("%s:%d rtas.dev=%p\n", __FILE__, __LINE__, rtas.dev);
/* /*
* "Finish" the device-tree, that is do the actual parsing of * "Finish" the device-tree, that is do the actual parsing of
* some of the properties like the interrupt map * some of the properties like the interrupt map
*/ */
finish_device_tree(); finish_device_tree();
printk("%s:%d rtas.dev=%p\n", __FILE__, __LINE__, rtas.dev);
/* /*
* Initialize xmon * Initialize xmon
...@@ -597,31 +592,26 @@ void __init setup_system(void) ...@@ -597,31 +592,26 @@ void __init setup_system(void)
#ifdef CONFIG_XMON_DEFAULT #ifdef CONFIG_XMON_DEFAULT
xmon_init(1); xmon_init(1);
#endif #endif
printk("%s:%d rtas.dev=%p\n", __FILE__, __LINE__, rtas.dev);
/* /*
* Register early console * Register early console
*/ */
register_early_udbg_console(); register_early_udbg_console();
printk("%s:%d rtas.dev=%p\n", __FILE__, __LINE__, rtas.dev);
/* Save unparsed command line copy for /proc/cmdline */ /* Save unparsed command line copy for /proc/cmdline */
strlcpy(saved_command_line, cmd_line, COMMAND_LINE_SIZE); strlcpy(saved_command_line, cmd_line, COMMAND_LINE_SIZE);
parse_early_param(); parse_early_param();
printk("%s:%d rtas.dev=%p\n", __FILE__, __LINE__, rtas.dev);
#ifdef CONFIG_SMP #ifdef CONFIG_SMP
/* /*
* iSeries has already initialized the cpu maps at this point. * iSeries has already initialized the cpu maps at this point.
*/ */
setup_cpu_maps(); setup_cpu_maps();
printk("%s:%d rtas.dev=%p\n", __FILE__, __LINE__, rtas.dev);
/* Release secondary cpus out of their spinloops at 0x60 now that /* Release secondary cpus out of their spinloops at 0x60 now that
* we can map physical -> logical CPU ids * we can map physical -> logical CPU ids
*/ */
smp_release_cpus(); smp_release_cpus();
printk("%s:%d rtas.dev=%p\n", __FILE__, __LINE__, rtas.dev);
#endif #endif
printk("Starting Linux PPC64 %s\n", system_utsname.version); printk("Starting Linux PPC64 %s\n", system_utsname.version);
...@@ -641,10 +631,8 @@ void __init setup_system(void) ...@@ -641,10 +631,8 @@ void __init setup_system(void)
printk("htab_address = 0x%p\n", htab_address); printk("htab_address = 0x%p\n", htab_address);
printk("htab_hash_mask = 0x%lx\n", htab_hash_mask); printk("htab_hash_mask = 0x%lx\n", htab_hash_mask);
printk("-----------------------------------------------------\n"); printk("-----------------------------------------------------\n");
printk("%s:%d rtas.dev=%p\n", __FILE__, __LINE__, rtas.dev);
mm_init_ppc64(); mm_init_ppc64();
printk("%s:%d rtas.dev=%p\n", __FILE__, __LINE__, rtas.dev);
DBG(" <- setup_system()\n"); DBG(" <- setup_system()\n");
} }
...@@ -1016,7 +1004,6 @@ void __init setup_arch(char **cmdline_p) ...@@ -1016,7 +1004,6 @@ void __init setup_arch(char **cmdline_p)
{ {
extern void do_init_bootmem(void); extern void do_init_bootmem(void);
printk("%s:%d rtas.dev=%p\n", __FILE__, __LINE__, rtas.dev);
ppc64_boot_msg(0x12, "Setup Arch"); ppc64_boot_msg(0x12, "Setup Arch");
*cmdline_p = cmd_line; *cmdline_p = cmd_line;
...@@ -1031,7 +1018,6 @@ void __init setup_arch(char **cmdline_p) ...@@ -1031,7 +1018,6 @@ void __init setup_arch(char **cmdline_p)
/* reboot on panic */ /* reboot on panic */
panic_timeout = 180; panic_timeout = 180;
printk("%s:%d rtas.dev=%p\n", __FILE__, __LINE__, rtas.dev);
if (ppc_md.panic) if (ppc_md.panic)
notifier_chain_register(&panic_notifier_list, &ppc64_panic_block); notifier_chain_register(&panic_notifier_list, &ppc64_panic_block);
...@@ -1044,14 +1030,12 @@ void __init setup_arch(char **cmdline_p) ...@@ -1044,14 +1030,12 @@ void __init setup_arch(char **cmdline_p)
irqstack_early_init(); irqstack_early_init();
emergency_stack_init(); emergency_stack_init();
printk("%s:%d rtas.dev=%p\n", __FILE__, __LINE__, rtas.dev);
stabs_alloc(); stabs_alloc();
/* set up the bootmem stuff with available memory */ /* set up the bootmem stuff with available memory */
do_init_bootmem(); do_init_bootmem();
sparse_init(); sparse_init();
printk("%s:%d rtas.dev=%p\n", __FILE__, __LINE__, rtas.dev);
/* initialize the syscall map in systemcfg */ /* initialize the syscall map in systemcfg */
setup_syscall_map(); setup_syscall_map();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment