@@ -216,7 +216,7 @@ static void __cpuinit smp_callin(void)
216
216
panic ("%s: phys CPU#%d, CPU#%d already present??\n" , __func__ ,
217
217
phys_id , cpuid );
218
218
}
219
- Dprintk ("CPU#%d (phys ID: %d) waiting for CALLOUT\n" , cpuid , phys_id );
219
+ pr_debug ("CPU#%d (phys ID: %d) waiting for CALLOUT\n" , cpuid , phys_id );
220
220
221
221
/*
222
222
* STARTUP IPIs are fragile beasts as they might sometimes
@@ -251,7 +251,7 @@ static void __cpuinit smp_callin(void)
251
251
* boards)
252
252
*/
253
253
254
- Dprintk ("CALLIN, before setup_local_APIC().\n" );
254
+ pr_debug ("CALLIN, before setup_local_APIC().\n" );
255
255
smp_callin_clear_local_apic ();
256
256
setup_local_APIC ();
257
257
end_local_APIC_setup ();
@@ -266,7 +266,7 @@ static void __cpuinit smp_callin(void)
266
266
local_irq_enable ();
267
267
calibrate_delay ();
268
268
local_irq_disable ();
269
- Dprintk ("Stack at about %p\n" , & cpuid );
269
+ pr_debug ("Stack at about %p\n" , & cpuid );
270
270
271
271
/*
272
272
* Save our processor parameters
@@ -513,7 +513,7 @@ static void impress_friends(void)
513
513
/*
514
514
* Allow the user to impress friends.
515
515
*/
516
- Dprintk ("Before bogomips.\n" );
516
+ pr_debug ("Before bogomips.\n" );
517
517
for_each_possible_cpu (cpu )
518
518
if (cpu_isset (cpu , cpu_callout_map ))
519
519
bogosum += cpu_data (cpu ).loops_per_jiffy ;
@@ -523,7 +523,7 @@ static void impress_friends(void)
523
523
bogosum /(500000 /HZ ),
524
524
(bogosum /(5000 /HZ ))%100 );
525
525
526
- Dprintk ("Before bogocount - setting activated=1.\n" );
526
+ pr_debug ("Before bogocount - setting activated=1.\n" );
527
527
}
528
528
529
529
static inline void __inquire_remote_apic (int apicid )
@@ -585,7 +585,7 @@ wakeup_secondary_cpu(int logical_apicid, unsigned long start_eip)
585
585
/* Kick the second */
586
586
apic_write (APIC_ICR , APIC_DM_NMI | APIC_DEST_LOGICAL );
587
587
588
- Dprintk ("Waiting for send to finish...\n" );
588
+ pr_debug ("Waiting for send to finish...\n" );
589
589
send_status = safe_apic_wait_icr_idle ();
590
590
591
591
/*
@@ -596,7 +596,7 @@ wakeup_secondary_cpu(int logical_apicid, unsigned long start_eip)
596
596
if (maxlvt > 3 ) /* Due to the Pentium erratum 3AP. */
597
597
apic_write (APIC_ESR , 0 );
598
598
accept_status = (apic_read (APIC_ESR ) & 0xEF );
599
- Dprintk ("NMI sent.\n" );
599
+ pr_debug ("NMI sent.\n" );
600
600
601
601
if (send_status )
602
602
printk (KERN_ERR "APIC never delivered???\n" );
@@ -631,7 +631,7 @@ wakeup_secondary_cpu(int phys_apicid, unsigned long start_eip)
631
631
apic_read (APIC_ESR );
632
632
}
633
633
634
- Dprintk ("Asserting INIT.\n" );
634
+ pr_debug ("Asserting INIT.\n" );
635
635
636
636
/*
637
637
* Turn INIT on target chip
@@ -644,20 +644,20 @@ wakeup_secondary_cpu(int phys_apicid, unsigned long start_eip)
644
644
apic_write (APIC_ICR ,
645
645
APIC_INT_LEVELTRIG | APIC_INT_ASSERT | APIC_DM_INIT );
646
646
647
- Dprintk ("Waiting for send to finish...\n" );
647
+ pr_debug ("Waiting for send to finish...\n" );
648
648
send_status = safe_apic_wait_icr_idle ();
649
649
650
650
mdelay (10 );
651
651
652
- Dprintk ("Deasserting INIT.\n" );
652
+ pr_debug ("Deasserting INIT.\n" );
653
653
654
654
/* Target chip */
655
655
apic_write (APIC_ICR2 , SET_APIC_DEST_FIELD (phys_apicid ));
656
656
657
657
/* Send IPI */
658
658
apic_write (APIC_ICR , APIC_INT_LEVELTRIG | APIC_DM_INIT );
659
659
660
- Dprintk ("Waiting for send to finish...\n" );
660
+ pr_debug ("Waiting for send to finish...\n" );
661
661
send_status = safe_apic_wait_icr_idle ();
662
662
663
663
mb ();
@@ -684,14 +684,14 @@ wakeup_secondary_cpu(int phys_apicid, unsigned long start_eip)
684
684
/*
685
685
* Run STARTUP IPI loop.
686
686
*/
687
- Dprintk ("#startup loops: %d.\n" , num_starts );
687
+ pr_debug ("#startup loops: %d.\n" , num_starts );
688
688
689
689
for (j = 1 ; j <= num_starts ; j ++ ) {
690
- Dprintk ("Sending STARTUP #%d.\n" , j );
690
+ pr_debug ("Sending STARTUP #%d.\n" , j );
691
691
if (maxlvt > 3 ) /* Due to the Pentium erratum 3AP. */
692
692
apic_write (APIC_ESR , 0 );
693
693
apic_read (APIC_ESR );
694
- Dprintk ("After apic_write.\n" );
694
+ pr_debug ("After apic_write.\n" );
695
695
696
696
/*
697
697
* STARTUP IPI
@@ -709,9 +709,9 @@ wakeup_secondary_cpu(int phys_apicid, unsigned long start_eip)
709
709
*/
710
710
udelay (300 );
711
711
712
- Dprintk ("Startup point 1.\n" );
712
+ pr_debug ("Startup point 1.\n" );
713
713
714
- Dprintk ("Waiting for send to finish...\n" );
714
+ pr_debug ("Waiting for send to finish...\n" );
715
715
send_status = safe_apic_wait_icr_idle ();
716
716
717
717
/*
@@ -724,7 +724,7 @@ wakeup_secondary_cpu(int phys_apicid, unsigned long start_eip)
724
724
if (send_status || accept_status )
725
725
break ;
726
726
}
727
- Dprintk ("After Startup.\n" );
727
+ pr_debug ("After Startup.\n" );
728
728
729
729
if (send_status )
730
730
printk (KERN_ERR "APIC never delivered???\n" );
@@ -875,7 +875,7 @@ static int __cpuinit do_boot_cpu(int apicid, int cpu)
875
875
876
876
if (get_uv_system_type () != UV_NON_UNIQUE_APIC ) {
877
877
878
- Dprintk ("Setting warm reset code and vector.\n" );
878
+ pr_debug ("Setting warm reset code and vector.\n" );
879
879
880
880
store_NMI_vector (& nmi_high , & nmi_low );
881
881
@@ -896,9 +896,9 @@ static int __cpuinit do_boot_cpu(int apicid, int cpu)
896
896
/*
897
897
* allow APs to start initializing.
898
898
*/
899
- Dprintk ("Before Callout %d.\n" , cpu );
899
+ pr_debug ("Before Callout %d.\n" , cpu );
900
900
cpu_set (cpu , cpu_callout_map );
901
- Dprintk ("After Callout %d.\n" , cpu );
901
+ pr_debug ("After Callout %d.\n" , cpu );
902
902
903
903
/*
904
904
* Wait 5s total for a response
@@ -911,10 +911,10 @@ static int __cpuinit do_boot_cpu(int apicid, int cpu)
911
911
912
912
if (cpu_isset (cpu , cpu_callin_map )) {
913
913
/* number CPUs logically, starting from 1 (BSP is 0) */
914
- Dprintk ("OK.\n" );
914
+ pr_debug ("OK.\n" );
915
915
printk (KERN_INFO "CPU%d: " , cpu );
916
916
print_cpu_info (& cpu_data (cpu ));
917
- Dprintk ("CPU has booted.\n" );
917
+ pr_debug ("CPU has booted.\n" );
918
918
} else {
919
919
boot_error = 1 ;
920
920
if (* ((volatile unsigned char * )trampoline_base )
@@ -959,7 +959,7 @@ int __cpuinit native_cpu_up(unsigned int cpu)
959
959
960
960
WARN_ON (irqs_disabled ());
961
961
962
- Dprintk ("++++++++++++++++++++=_---CPU UP %u\n" , cpu );
962
+ pr_debug ("++++++++++++++++++++=_---CPU UP %u\n" , cpu );
963
963
964
964
if (apicid == BAD_APICID || apicid == boot_cpu_physical_apicid ||
965
965
!physid_isset (apicid , phys_cpu_present_map )) {
@@ -971,7 +971,7 @@ int __cpuinit native_cpu_up(unsigned int cpu)
971
971
* Already booted CPU?
972
972
*/
973
973
if (cpu_isset (cpu , cpu_callin_map )) {
974
- Dprintk ("do_boot_cpu %d Already started\n" , cpu );
974
+ pr_debug ("do_boot_cpu %d Already started\n" , cpu );
975
975
return - ENOSYS ;
976
976
}
977
977
@@ -998,7 +998,7 @@ int __cpuinit native_cpu_up(unsigned int cpu)
998
998
err = do_boot_cpu (apicid , cpu );
999
999
#endif
1000
1000
if (err ) {
1001
- Dprintk ("do_boot_cpu failed %d\n" , err );
1001
+ pr_debug ("do_boot_cpu failed %d\n" , err );
1002
1002
return - EIO ;
1003
1003
}
1004
1004
@@ -1202,7 +1202,7 @@ void __init native_smp_prepare_boot_cpu(void)
1202
1202
1203
1203
void __init native_smp_cpus_done (unsigned int max_cpus )
1204
1204
{
1205
- Dprintk ("Boot done.\n" );
1205
+ pr_debug ("Boot done.\n" );
1206
1206
1207
1207
impress_friends ();
1208
1208
smp_checks ();
0 commit comments