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)
66
66
la t0, jz4780_cpu_entry_gp
67
67
lw gp, 0 (t0)
68
68
69
- /* off we go! */
70
- j smp_bootstrap
69
+ /* jump to the kernel in kseg0 */
70
+ la t0, smp_bootstrap
71
+ jr t0
71
72
nop
72
73
END(jz4780_secondary_cpu_entry)
Original file line number Diff line number Diff line change 22
22
23
23
#include <linux/clk.h>
24
24
#include <linux/clockchips.h>
25
- #include <linux/delay.h>
26
25
#include <linux/interrupt.h>
27
26
#include <linux/of.h>
28
27
#include <linux/sched.h>
@@ -273,11 +272,3 @@ void jz4780_smp_init(void)
273
272
{
274
273
register_smp_ops (& jz4780_smp_ops );
275
274
}
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