MIPS: fw: arc: remove unused ARC code
Current kernel uses only a few ARC calls. Drop all unused ARC functions. Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de> Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: James Hogan <jhogan@kernel.org> Cc: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org
This commit is contained in:

committed by
Paul Burton

parent
3c0be58492
commit
d11646b5ce
@@ -20,47 +20,6 @@
|
||||
#include <asm/sgialib.h>
|
||||
#include <asm/bootinfo.h>
|
||||
|
||||
VOID __noreturn
|
||||
ArcHalt(VOID)
|
||||
{
|
||||
bc_disable();
|
||||
local_irq_disable();
|
||||
ARC_CALL0(halt);
|
||||
|
||||
unreachable();
|
||||
}
|
||||
|
||||
VOID __noreturn
|
||||
ArcPowerDown(VOID)
|
||||
{
|
||||
bc_disable();
|
||||
local_irq_disable();
|
||||
ARC_CALL0(pdown);
|
||||
|
||||
unreachable();
|
||||
}
|
||||
|
||||
/* XXX is this a soft reset basically? XXX */
|
||||
VOID __noreturn
|
||||
ArcRestart(VOID)
|
||||
{
|
||||
bc_disable();
|
||||
local_irq_disable();
|
||||
ARC_CALL0(restart);
|
||||
|
||||
unreachable();
|
||||
}
|
||||
|
||||
VOID __noreturn
|
||||
ArcReboot(VOID)
|
||||
{
|
||||
bc_disable();
|
||||
local_irq_disable();
|
||||
ARC_CALL0(reboot);
|
||||
|
||||
unreachable();
|
||||
}
|
||||
|
||||
VOID __noreturn
|
||||
ArcEnterInteractiveMode(VOID)
|
||||
{
|
||||
@@ -71,24 +30,6 @@ ArcEnterInteractiveMode(VOID)
|
||||
unreachable();
|
||||
}
|
||||
|
||||
LONG
|
||||
ArcSaveConfiguration(VOID)
|
||||
{
|
||||
return ARC_CALL0(cfg_save);
|
||||
}
|
||||
|
||||
struct linux_sysid *
|
||||
ArcGetSystemId(VOID)
|
||||
{
|
||||
return (struct linux_sysid *) ARC_CALL0(get_sysid);
|
||||
}
|
||||
|
||||
VOID __init
|
||||
ArcFlushAllCaches(VOID)
|
||||
{
|
||||
ARC_CALL0(cache_flush);
|
||||
}
|
||||
|
||||
DISPLAY_STATUS * __init ArcGetDisplayStatus(ULONG FileID)
|
||||
{
|
||||
return (DISPLAY_STATUS *) ARC_CALL1(GetDisplayStatus, FileID);
|
||||
|
Reference in New Issue
Block a user