powerpc: Drop _nmask_and_or_msr()
_nmask_and_or_msr() is only used at two places to set MSR_IP. The SYNC is unnecessary as the users are not PowerPC 601. Can be easily writen in C. Do it, and drop _nmask_and_or_msr() Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/c2d2b8dfb8dd677026b26dffc8d31070c38a6b89.1597388079.git.christophe.leroy@csgroup.eu
This commit is contained in:
committed by
Michael Ellerman
parent
6c9100ea39
commit
e53281bc21
@@ -437,7 +437,6 @@ extern void power9_idle_type(unsigned long stop_psscr_val,
|
||||
|
||||
extern void flush_instruction_cache(void);
|
||||
extern int fix_alignment(struct pt_regs *);
|
||||
extern void _nmask_and_or_msr(unsigned long nmask, unsigned long or_val);
|
||||
|
||||
#ifdef CONFIG_PPC64
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user