Re: [kernel] powerpc/powernv: Remove never used pnv_power9_force_smt4

2019-01-23 Thread Michael Ellerman
On Mon, 2019-01-14 at 00:40:27 UTC, Alexey Kardashevskiy wrote:
> This removes never used symbol - pnv_power9_force_smt4.
> 
> Note that we might still want to add stubs for:
>   void pnv_power9_force_smt4_catch(void);
>   void pnv_power9_force_smt4_release(void);
> 
> Fixes: 7672691a08c88 "powerpc/powernv: Provide a way to force a core into 
> SMT4 mode"
> Signed-off-by: Alexey Kardashevskiy 

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/c35f78d7a422750917029d20d9e57000

cheers


[PATCH kernel] powerpc/powernv: Remove never used pnv_power9_force_smt4

2019-01-13 Thread Alexey Kardashevskiy
This removes never used symbol - pnv_power9_force_smt4.

Note that we might still want to add stubs for:
void pnv_power9_force_smt4_catch(void);
void pnv_power9_force_smt4_release(void);

Fixes: 7672691a08c88 "powerpc/powernv: Provide a way to force a core into SMT4 
mode"
Signed-off-by: Alexey Kardashevskiy 
---
 arch/powerpc/include/asm/powernv.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/powerpc/include/asm/powernv.h 
b/arch/powerpc/include/asm/powernv.h
index 2f3ff7a..362ea12 100644
--- a/arch/powerpc/include/asm/powernv.h
+++ b/arch/powerpc/include/asm/powernv.h
@@ -40,7 +40,6 @@ static inline int pnv_npu2_handle_fault(struct npu_context 
*context,
 }
 
 static inline void pnv_tm_init(void) { }
-static inline void pnv_power9_force_smt4(void) { }
 #endif
 
 #endif /* _ASM_POWERNV_H */
-- 
2.17.1