diff options
author | Thomas Bogendoerfer <tbogendoerfer@suse.de> | 2019-10-09 15:27:12 +0200 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2019-10-09 23:55:37 +0200 |
commit | d11646b5ce930c4d5e933c4d97db5a06a67a211b (patch) | |
tree | 4d572766784aa211353eb6840a7887a3147fad91 /arch/mips/fw/arc/salone.c | |
parent | MIPS: Drop 32-bit asm string functions (diff) | |
download | linux-d11646b5ce930c4d5e933c4d97db5a06a67a211b.tar.xz linux-d11646b5ce930c4d5e933c4d97db5a06a67a211b.zip |
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
Diffstat (limited to 'arch/mips/fw/arc/salone.c')
-rw-r--r-- | arch/mips/fw/arc/salone.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/arch/mips/fw/arc/salone.c b/arch/mips/fw/arc/salone.c deleted file mode 100644 index 2d99f44d5576..000000000000 --- a/arch/mips/fw/arc/salone.c +++ /dev/null @@ -1,25 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Routines to load into memory and execute stand-along program images using - * ARCS PROM firmware. - * - * Copyright (C) 1996 David S. Miller (davem@davemloft.net) - */ -#include <linux/init.h> -#include <asm/sgialib.h> - -LONG __init ArcLoad(CHAR *Path, ULONG TopAddr, ULONG *ExecAddr, ULONG *LowAddr) -{ - return ARC_CALL4(load, Path, TopAddr, ExecAddr, LowAddr); -} - -LONG __init ArcInvoke(ULONG ExecAddr, ULONG StackAddr, ULONG Argc, CHAR *Argv[], - CHAR *Envp[]) -{ - return ARC_CALL5(invoke, ExecAddr, StackAddr, Argc, Argv, Envp); -} - -LONG __init ArcExecute(CHAR *Path, LONG Argc, CHAR *Argv[], CHAR *Envp[]) -{ - return ARC_CALL4(exec, Path, Argc, Argv, Envp); -} |