diff options
author | Vijay Kumar <vijay.ac.kumar@oracle.com> | 2017-07-21 18:23:57 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-10 07:15:10 +0200 |
commit | 8536e02e912a46aa1c100bb1f5ccdca42e4e1ad2 (patch) | |
tree | 1a27965ab0da09dd07cfa6a7515aa21deee0984e /arch/sparc/kernel/setup_64.c | |
parent | sparc64: Add a new hypercall CPU_POKE (diff) | |
download | linux-8536e02e912a46aa1c100bb1f5ccdca42e4e1ad2.tar.xz linux-8536e02e912a46aa1c100bb1f5ccdca42e4e1ad2.zip |
sparc64: Use CPU_POKE to resume idle cpu
Use CPU_POKE hypervisor call to resume idle cpu if supported.
Signed-off-by: Vijay Kumar <vijay.ac.kumar@oracle.com>
Reviewed-by: Anthony Yznaga <anthony.yznaga@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/setup_64.c')
-rw-r--r-- | arch/sparc/kernel/setup_64.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/kernel/setup_64.c b/arch/sparc/kernel/setup_64.c index 4d9c3e13c150..f92d5c67938b 100644 --- a/arch/sparc/kernel/setup_64.c +++ b/arch/sparc/kernel/setup_64.c @@ -356,6 +356,7 @@ void __init start_early_boot(void) check_if_starfire(); per_cpu_patch(); sun4v_patch(); + smp_init_cpu_poke(); cpu = hard_smp_processor_id(); if (cpu >= NR_CPUS) { |