From a8a453106f7ba8008d245070ca681a9ce211847d Mon Sep 17 00:00:00 2001 From: Wu Zhangjin Date: Mon, 4 Jan 2010 17:16:47 +0800 Subject: [PATCH] --- yaml --- r: 182064 b: refs/heads/master c: 97e6a89634befaf5bd66d3044d36961c887cd98c h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/mips/loongson/common/cmdline.c | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index fed1f8e87593..8ecfdb6d0914 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c7e8c668b09a27879e8b45d2a613fb5acdf9f8a3 +refs/heads/master: 97e6a89634befaf5bd66d3044d36961c887cd98c diff --git a/trunk/arch/mips/loongson/common/cmdline.c b/trunk/arch/mips/loongson/common/cmdline.c index 7ad47f227477..9e3283711d61 100644 --- a/trunk/arch/mips/loongson/common/cmdline.c +++ b/trunk/arch/mips/loongson/common/cmdline.c @@ -21,12 +21,11 @@ #include -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;