diff options
Diffstat (limited to 'arch/arm/mach-rockchip/headsmp.S')
-rw-r--r-- | arch/arm/mach-rockchip/headsmp.S | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-rockchip/headsmp.S b/arch/arm/mach-rockchip/headsmp.S index 73206e360e31..46c22dedf632 100644 --- a/arch/arm/mach-rockchip/headsmp.S +++ b/arch/arm/mach-rockchip/headsmp.S | |||
@@ -16,7 +16,10 @@ | |||
16 | #include <linux/init.h> | 16 | #include <linux/init.h> |
17 | 17 | ||
18 | ENTRY(rockchip_secondary_startup) | 18 | ENTRY(rockchip_secondary_startup) |
19 | bl v7_invalidate_l1 | 19 | mrc p15, 0, r0, c0, c0, 0 @ read main ID register |
20 | ldr r1, =0x00000c09 @ Cortex-A9 primary part number | ||
21 | teq r0, r1 | ||
22 | beq v7_invalidate_l1 | ||
20 | b secondary_startup | 23 | b secondary_startup |
21 | ENDPROC(rockchip_secondary_startup) | 24 | ENDPROC(rockchip_secondary_startup) |
22 | 25 | ||