powerpc/40x: Remove support for IBM 403GCX
CONFIG_403GCX is not user selectable and is not selected by any platform. Remove it. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/635f8f5ce9d1f761b3bd8dc3e8ddad500cea26c4.1590079968.git.christophe.leroy@csgroup.eu
This commit is contained in:

committed by
Michael Ellerman

parent
4e1df545e2
commit
1b5c0967ab
@@ -51,24 +51,12 @@ struct div_result {
|
||||
|
||||
static inline unsigned long get_tbl(void)
|
||||
{
|
||||
#if defined(CONFIG_403GCX)
|
||||
unsigned long tbl;
|
||||
asm volatile("mfspr %0, 0x3dd" : "=r" (tbl));
|
||||
return tbl;
|
||||
#else
|
||||
return mftbl();
|
||||
#endif
|
||||
}
|
||||
|
||||
static inline unsigned int get_tbu(void)
|
||||
{
|
||||
#ifdef CONFIG_403GCX
|
||||
unsigned int tbu;
|
||||
asm volatile("mfspr %0, 0x3dc" : "=r" (tbu));
|
||||
return tbu;
|
||||
#else
|
||||
return mftbu();
|
||||
#endif
|
||||
}
|
||||
#endif /* !CONFIG_PPC64 */
|
||||
|
||||
|
Reference in New Issue
Block a user