Skip to content

Commit

Permalink
arm64: Do not set the SMP/nAMP processor bit
Browse files Browse the repository at this point in the history
If such bit exists on a given CPU, it must be set by the firmware or
boot-loader prior to starting the kernel (see
Documentation/arm64/booting.txt).

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
  • Loading branch information
Catalin Marinas committed Sep 24, 2012
1 parent 3807422 commit 0d0109a
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions arch/arm64/mm/proc.S
Original file line number Diff line number Diff line change
Expand Up @@ -108,17 +108,6 @@ cpu_name:
* value of the SCTLR_EL1 register.
*/
ENTRY(__cpu_setup)
#ifdef CONFIG_SMP
/* TODO: only do this for certain CPUs */
/*
* Enable SMP/nAMP mode.
*/
mrs x0, actlr_el1
tbnz x0, #6, 1f // already enabled?
orr x0, x0, #1 << 6
msr actlr_el1, x0
1:
#endif
/*
* Preserve the link register across the function call.
*/
Expand Down

0 comments on commit 0d0109a

Please sign in to comment.