diff options
author | Gautham R. Shenoy <ego@linux.vnet.ibm.com> | 2017-03-22 16:04:14 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-04-11 00:45:09 +0200 |
commit | a7cd88da97040513e17cd77ae3e57764e854bae4 (patch) | |
tree | fdc2d2a70872488ac399dcccca485722791ec528 /arch/powerpc/platforms/powernv/powernv.h | |
parent | powerpc/hugetlb: Add ABI defines for supported HugeTLB page sizes (diff) | |
download | linux-a7cd88da97040513e17cd77ae3e57764e854bae4.tar.xz linux-a7cd88da97040513e17cd77ae3e57764e854bae4.zip |
powerpc/powernv: Move CPU-Offline idle state invocation from smp.c to idle.c
Move the piece of code in powernv/smp.c::pnv_smp_cpu_kill_self() which
transitions the CPU to the deepest available platform idle state to a
new function named pnv_cpu_offline() in powernv/idle.c. The rationale
behind this code movement is that the data required to determine the
deepest available platform state resides in powernv/idle.c.
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Gautham R. Shenoy <ego@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/powernv/powernv.h')
-rw-r--r-- | arch/powerpc/platforms/powernv/powernv.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/powernv/powernv.h b/arch/powerpc/platforms/powernv/powernv.h index 613052232475..6dbc0a1da1f6 100644 --- a/arch/powerpc/platforms/powernv/powernv.h +++ b/arch/powerpc/platforms/powernv/powernv.h @@ -18,8 +18,6 @@ static inline void pnv_pci_shutdown(void) { } #endif extern u32 pnv_get_supported_cpuidle_states(void); -extern u64 pnv_deepest_stop_psscr_val; -extern u64 pnv_deepest_stop_psscr_mask; extern void pnv_lpc_init(void); |