aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/setup_64.c
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-10-11 03:35:20 -0400
committerPaul Mackerras <paulus@samba.org>2005-10-11 03:35:20 -0400
commitcc5aa206d2c853929ce67d8f5ebb57cd1c7fd413 (patch)
tree2f054b386205b51cb8b3098e44b41a39e0d056cc /arch/powerpc/kernel/setup_64.c
parentabc244dd855a8013db8c850c21811c12a22b608a (diff)
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: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/setup_64.c')
-rw-r--r--arch/powerpc/kernel/setup_64.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c
index 212b00823f82..4fcf67575cbb 100644
--- a/arch/powerpc/kernel/setup_64.c
+++ b/arch/powerpc/kernel/setup_64.c
@@ -567,14 +567,11 @@ void __init setup_system(void)
567 */ 567 */
568 rtas_initialize(); 568 rtas_initialize();
569#endif /* CONFIG_PPC_RTAS */ 569#endif /* CONFIG_PPC_RTAS */
570 printk("%s:%d rtas.dev=%p (@ %p)\n", __FILE__, __LINE__, rtas.dev,
571 &rtas.dev);
572 570
573 /* 571 /*
574 * Check if we have an initrd provided via the device-tree 572 * Check if we have an initrd provided via the device-tree
575 */ 573 */
576 check_for_initrd(); 574 check_for_initrd();
577 printk("%s:%d rtas.dev=%p\n", __FILE__, __LINE__, rtas.dev);
578 575
579 /* 576 /*
580 * Do some platform specific early initializations, that includes 577 * Do some platform specific early initializations, that includes
@@ -582,14 +579,12 @@ void __init setup_system(void)
582 * related options that will be used by finish_device_tree() 579 * related options that will be used by finish_device_tree()
583 */ 580 */
584 ppc_md.init_early(); 581 ppc_md.init_early();
585 printk("%s:%d rtas.dev=%p\n", __FILE__, __LINE__, rtas.dev);
586 582
587 /* 583 /*
588 * "Finish" the device-tree, that is do the actual parsing of 584 * "Finish" the device-tree, that is do the actual parsing of
589 * some of the properties like the interrupt map 585 * some of the properties like the interrupt map
590 */ 586 */
591 finish_device_tree(); 587 finish_device_tree();
592 printk("%s:%d rtas.dev=%p\n", __FILE__, __LINE__, rtas.dev);
593 588
594 /* 589 /*
595 * Initialize xmon 590 * Initialize xmon
@@ -597,31 +592,26 @@ void __init setup_system(void)
597#ifdef CONFIG_XMON_DEFAULT 592#ifdef CONFIG_XMON_DEFAULT
598 xmon_init(1); 593 xmon_init(1);
599#endif 594#endif
600 printk("%s:%d rtas.dev=%p\n", __FILE__, __LINE__, rtas.dev);
601 /* 595 /*
602 * Register early console 596 * Register early console
603 */ 597 */
604 register_early_udbg_console(); 598 register_early_udbg_console();
605 printk("%s:%d rtas.dev=%p\n", __FILE__, __LINE__, rtas.dev);
606 599
607 /* Save unparsed command line copy for /proc/cmdline */ 600 /* Save unparsed command line copy for /proc/cmdline */
608 strlcpy(saved_command_line, cmd_line, COMMAND_LINE_SIZE); 601 strlcpy(saved_command_line, cmd_line, COMMAND_LINE_SIZE);
609 602
610 parse_early_param(); 603 parse_early_param();
611 printk("%s:%d rtas.dev=%p\n", __FILE__, __LINE__, rtas.dev);
612 604
613#ifdef CONFIG_SMP 605#ifdef CONFIG_SMP
614 /* 606 /*
615 * iSeries has already initialized the cpu maps at this point. 607 * iSeries has already initialized the cpu maps at this point.
616 */ 608 */
617 setup_cpu_maps(); 609 setup_cpu_maps();
618 printk("%s:%d rtas.dev=%p\n", __FILE__, __LINE__, rtas.dev);
619 610
620 /* Release secondary cpus out of their spinloops at 0x60 now that 611 /* Release secondary cpus out of their spinloops at 0x60 now that
621 * we can map physical -> logical CPU ids 612 * we can map physical -> logical CPU ids
622 */ 613 */
623 smp_release_cpus(); 614 smp_release_cpus();
624 printk("%s:%d rtas.dev=%p\n", __FILE__, __LINE__, rtas.dev);
625#endif 615#endif
626 616
627 printk("Starting Linux PPC64 %s\n", system_utsname.version); 617 printk("Starting Linux PPC64 %s\n", system_utsname.version);
@@ -641,10 +631,8 @@ void __init setup_system(void)
641 printk("htab_address = 0x%p\n", htab_address); 631 printk("htab_address = 0x%p\n", htab_address);
642 printk("htab_hash_mask = 0x%lx\n", htab_hash_mask); 632 printk("htab_hash_mask = 0x%lx\n", htab_hash_mask);
643 printk("-----------------------------------------------------\n"); 633 printk("-----------------------------------------------------\n");
644 printk("%s:%d rtas.dev=%p\n", __FILE__, __LINE__, rtas.dev);
645 634
646 mm_init_ppc64(); 635 mm_init_ppc64();
647 printk("%s:%d rtas.dev=%p\n", __FILE__, __LINE__, rtas.dev);
648 636
649 DBG(" <- setup_system()\n"); 637 DBG(" <- setup_system()\n");
650} 638}
@@ -1016,7 +1004,6 @@ void __init setup_arch(char **cmdline_p)
1016{ 1004{
1017 extern void do_init_bootmem(void); 1005 extern void do_init_bootmem(void);
1018 1006
1019 printk("%s:%d rtas.dev=%p\n", __FILE__, __LINE__, rtas.dev);
1020 ppc64_boot_msg(0x12, "Setup Arch"); 1007 ppc64_boot_msg(0x12, "Setup Arch");
1021 1008
1022 *cmdline_p = cmd_line; 1009 *cmdline_p = cmd_line;
@@ -1031,7 +1018,6 @@ void __init setup_arch(char **cmdline_p)
1031 1018
1032 /* reboot on panic */ 1019 /* reboot on panic */
1033 panic_timeout = 180; 1020 panic_timeout = 180;
1034 printk("%s:%d rtas.dev=%p\n", __FILE__, __LINE__, rtas.dev);
1035 1021
1036 if (ppc_md.panic) 1022 if (ppc_md.panic)
1037 notifier_chain_register(&panic_notifier_list, &ppc64_panic_block); 1023 notifier_chain_register(&panic_notifier_list, &ppc64_panic_block);
@@ -1044,14 +1030,12 @@ void __init setup_arch(char **cmdline_p)
1044 irqstack_early_init(); 1030 irqstack_early_init();
1045 emergency_stack_init(); 1031 emergency_stack_init();
1046 1032
1047 printk("%s:%d rtas.dev=%p\n", __FILE__, __LINE__, rtas.dev);
1048 stabs_alloc(); 1033 stabs_alloc();
1049 1034
1050 /* set up the bootmem stuff with available memory */ 1035 /* set up the bootmem stuff with available memory */
1051 do_init_bootmem(); 1036 do_init_bootmem();
1052 sparse_init(); 1037 sparse_init();
1053 1038
1054 printk("%s:%d rtas.dev=%p\n", __FILE__, __LINE__, rtas.dev);
1055 /* initialize the syscall map in systemcfg */ 1039 /* initialize the syscall map in systemcfg */
1056 setup_syscall_map(); 1040 setup_syscall_map();
1057 1041