File tree Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,8 @@ LEAF(jz4780_secondary_cpu_entry)
6666	la	t0, jz4780_cpu_entry_gp
6767	lw	gp, 0 (t0)
6868
69- 	/* off we go! */ 
70- 	j	smp_bootstrap
69+ 	/* jump to the kernel in kseg0 */ 
70+ 	la	t0, smp_bootstrap
71+ 	jr	t0
7172	 nop 
7273	END(jz4780_secondary_cpu_entry)
Original file line number Diff line number Diff line change 2222
2323#include  <linux/clk.h> 
2424#include  <linux/clockchips.h> 
25- #include  <linux/delay.h> 
2625#include  <linux/interrupt.h> 
2726#include  <linux/of.h> 
2827#include  <linux/sched.h> 
@@ -273,11 +272,3 @@ void jz4780_smp_init(void)
273272{
274273	register_smp_ops (& jz4780_smp_ops );
275274}
276- 
277- unsigned long  calibrate_delay_is_known (void )
278- {
279- 	if  (smp_processor_id () ==  0 )
280- 		return  0 ;
281- 
282- 	return  loops_per_jiffy ;
283- }
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments