Skip to content

Commit

Permalink
MIPS: Loongson: Move prom_argc and prom_argv into prom_init_cmdline()
Browse files Browse the repository at this point in the history
prom_argc and prom_argv are only used by prom_init_cmdline(), move them
into the function.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: yanh@lemote.com
Cc: huhb@lemote.com
Cc: zhangfx@lemote.com
Patchwork: http://patchwork.linux-mips.org/patch/825/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Wu Zhangjin authored and Ralf Baechle committed Feb 27, 2010
1 parent c7e8c66 commit 97e6a89
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions arch/mips/loongson/common/cmdline.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@

#include <loongson.h>

int prom_argc;
/* pmon passes arguments in 32bit pointers */
int *_prom_argv;

void __init prom_init_cmdline(void)
{
int prom_argc;
/* pmon passes arguments in 32bit pointers */
int *_prom_argv;
int i;
long l;

Expand Down

0 comments on commit 97e6a89

Please sign in to comment.