Commit cbd09241 authored by Thomas Bogendoerfer's avatar Thomas Bogendoerfer Committed by Paul Burton

MIPS: arc: remove unused stuff

remove unused _prom_envp and prom_argc macro.
Signed-off-by: default avatarThomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: default avatarPaul Burton <paulburton@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@mips.com>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
parent c823f416
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
/* Master romvec interface. */ /* Master romvec interface. */
struct linux_romvec *romvec; struct linux_romvec *romvec;
int prom_argc; int prom_argc;
LONG *_prom_argv, *_prom_envp; LONG *_prom_argv;
#if defined(CONFIG_64BIT) && defined(CONFIG_FW_ARC32) #if defined(CONFIG_64BIT) && defined(CONFIG_FW_ARC32)
/* stack for calling 32bit ARC prom */ /* stack for calling 32bit ARC prom */
...@@ -34,7 +34,6 @@ void __init prom_init(void) ...@@ -34,7 +34,6 @@ void __init prom_init(void)
prom_argc = fw_arg0; prom_argc = fw_arg0;
_prom_argv = (LONG *) fw_arg1; _prom_argv = (LONG *) fw_arg1;
_prom_envp = (LONG *) fw_arg2;
if (pb->magic != 0x53435241) { if (pb->magic != 0x53435241) {
printk(KERN_CRIT "Aieee, bad prom vector magic %08lx\n", printk(KERN_CRIT "Aieee, bad prom vector magic %08lx\n",
......
...@@ -17,12 +17,11 @@ ...@@ -17,12 +17,11 @@
extern struct linux_romvec *romvec; extern struct linux_romvec *romvec;
extern int prom_argc; extern int prom_argc;
extern LONG *_prom_argv, *_prom_envp; extern LONG *_prom_argv;
/* A 32-bit ARC PROM pass arguments and environment as 32-bit pointer. /* A 32-bit ARC PROM pass arguments and environment as 32-bit pointer.
These macros take care of sign extension. */ These macros take care of sign extension. */
#define prom_argv(index) ((char *) (long) _prom_argv[(index)]) #define prom_argv(index) ((char *) (long) _prom_argv[(index)])
#define prom_argc(index) ((char *) (long) _prom_argc[(index)])
extern int prom_flags; extern int prom_flags;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment