Skip to content

Commit

Permalink
Merge tag 'actions-arm-soc-for-4.15' of ssh://gitolite.kernel.org/pub…
Browse files Browse the repository at this point in the history
…/scm/linux/kernel/git/afaerber/linux-actions into next/soc

Pull "Actions Semi Arm SoC for v4.15" from Andreas Färber:

This cleans up the S500 SMP code.

* tag 'actions-arm-soc-for-4.15' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/afaerber/linux-actions:
  ARM: owl: smp: Drop owl_secondary_boot()
  ARM: owl: smp: Use __pa_symbol()
  • Loading branch information
Arnd Bergmann committed Nov 7, 2017
2 parents ff4f032 + 6c2eb3e commit fa32475
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 56 deletions.
4 changes: 1 addition & 3 deletions arch/arm/mach-actions/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
obj-${CONFIG_SMP} += platsmp.o headsmp.o

AFLAGS_headsmp.o := -Wa,-march=armv7-a
obj-${CONFIG_SMP} += platsmp.o
52 changes: 0 additions & 52 deletions arch/arm/mach-actions/headsmp.S

This file was deleted.

2 changes: 1 addition & 1 deletion arch/arm/mach-actions/platsmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ static int s500_wakeup_secondary(unsigned int cpu)
/* wait for CPUx to run to WFE instruction */
udelay(200);

writel(virt_to_phys(owl_secondary_startup),
writel(__pa_symbol(secondary_startup),
timer_base_addr + OWL_CPU1_ADDR + (cpu - 1) * 4);
writel(OWL_CPUx_FLAG_BOOT,
timer_base_addr + OWL_CPU1_FLAG + (cpu - 1) * 4);
Expand Down

0 comments on commit fa32475

Please sign in to comment.