projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[adm5120] update to 2.6.22-rc6
[openwrt.git]
/
target
/
linux
/
adm5120-2.6
/
files
/
arch
/
mips
/
adm5120
/
prom.c
diff --git
a/target/linux/adm5120-2.6/files/arch/mips/adm5120/prom.c
b/target/linux/adm5120-2.6/files/arch/mips/adm5120/prom.c
index
a288b07
..
c2e1dcb
100644
(file)
--- a/
target/linux/adm5120-2.6/files/arch/mips/adm5120/prom.c
+++ b/
target/linux/adm5120-2.6/files/arch/mips/adm5120/prom.c
@@
-32,7
+32,7
@@
#include <asm/mach-adm5120/adm5120_info.h>
#include <asm/mach-adm5120/adm5120_info.h>
-static char **prom_envp;
+static char **prom_envp
= NULL
;
void setup_prom_printf(int);
void prom_printf(char *, ...);
void setup_prom_printf(int);
void prom_printf(char *, ...);
@@
-106,7
+106,9
@@
void __init prom_init(void)
{
char *cmd;
{
char *cmd;
- prom_envp = (char **)fw_arg2;
+ if ((fw_arg2 & 3) == 0) {
+ prom_envp = (char **)fw_arg2;
+ }
adm5120_info_init();
adm5120_info_init();
This page took
0.025581 seconds
and
4
git commands to generate.