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

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE2825d

2 messages, 2 authors, 2019-01-24 · open the first message on its own page

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

From: Alexey Kardashevskiy <hidden>
Date: 2019-01-14 00:42:10

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 <redacted>
---
 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

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

From: Michael Ellerman <hidden>
Date: 2019-01-24 04:07:19

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 <redacted>
Applied to powerpc next, thanks.

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

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help