git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Driver Core: early platform driver
[safe/jmp/linux-2.6]
/
init
/
main.c
diff --git
a/init/main.c
b/init/main.c
index
3585f07
..
3bbf93b
100644
(file)
--- a/
init/main.c
+++ b/
init/main.c
@@
-492,6
+492,11
@@
static int __init do_early_param(char *param, char *val)
return 0;
}
return 0;
}
+void __init parse_early_options(char *cmdline)
+{
+ parse_args("early options", cmdline, NULL, 0, do_early_param);
+}
+
/* Arch code calls this early on, or if not, just before other parsing. */
void __init parse_early_param(void)
{
/* Arch code calls this early on, or if not, just before other parsing. */
void __init parse_early_param(void)
{
@@
-503,7
+508,7
@@
void __init parse_early_param(void)
/* All fall through to do_early_param. */
strlcpy(tmp_cmdline, boot_command_line, COMMAND_LINE_SIZE);
/* All fall through to do_early_param. */
strlcpy(tmp_cmdline, boot_command_line, COMMAND_LINE_SIZE);
- parse_
args("early options", tmp_cmdline, NULL, 0, do_early_param
);
+ parse_
early_options(tmp_cmdline
);
done = 1;
}
done = 1;
}