linux-mips
[Top] [All Lists]

[PATCH] Remove arch/mips/arc/salone.c

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH] Remove arch/mips/arc/salone.c
From: Alexey Dobriyan <adobriyan@gmail.com>
Date: Tue, 8 Nov 2005 21:01:31 +0300
Cc: Domen Puncer <domen@coderock.org>, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:mime-version:content-type:content-disposition:user-agent; b=pgUhAJZ1jfY4pZSU9gRd1cKAe1LT2QzxO6zqByg1OTf3n1kiVGXzTtxCLDaeyTln/jKIy6XfLDxr+RKUyLdEWY75idCs4bb78m04iROhiGAMgdjkMGF3UZFnLd/pxNstEvMz4Y1jz97wCH3dhBiPXIrAisxCUHV7KRhsE8IOu0U=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.8i
From: Domen Puncer <domen@coderock.org>

ArcLoad(), ArcInvoke(), ArcExecute() aren't used.

Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>

Index: linux-kj/arch/mips/arc/Makefile
===================================================================
--- linux-kj.orig/arch/mips/arc/Makefile        2005-11-08 20:46:24.000000000 
+0300
+++ linux-kj/arch/mips/arc/Makefile     2005-11-08 20:47:36.000000000 +0300
@@ -3,7 +3,7 @@
 #
 
 lib-y                          += cmdline.o env.o file.o identify.o init.o \
-                                  misc.o salone.o time.o tree.o
+                                  misc.o time.o tree.o
 
 lib-$(CONFIG_ARC_MEMORY)       += memory.o
 lib-$(CONFIG_ARC_CONSOLE)      += arc_con.o
Index: linux-kj/arch/mips/arc/salone.c
===================================================================
--- linux-kj.orig/arch/mips/arc/salone.c        2005-11-08 20:46:24.000000000 
+0300
+++ /dev/null   1970-01-01 00:00:00.000000000 +0000
@@ -1,24 +0,0 @@
-/*
- * Routines to load into memory and execute stand-along program images using
- * ARCS PROM firmware.
- *
- * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
- */
-#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);
-}


<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] Remove arch/mips/arc/salone.c, Alexey Dobriyan <=