]> err.no Git - linux-2.6/commitdiff
[SPARC]: Re-export saved_command_line to modules.
authorDavid S. Miller <davem@sunset.davemloft.net>
Mon, 12 Feb 2007 23:10:56 +0000 (15:10 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 12 Feb 2007 23:15:48 +0000 (15:15 -0800)
This reverts some bogosity from the dynamic command-line
changes made on sparc32 and sparc64.

Drivers such as drivers/sbus/char/openprom.c reference
saved_command_line, and can be modular.

The boot_command_line is __initdata, yet the dynamic command-line
changes add modular exports of that symbol, obviously wrong.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/sparc_ksyms.c
arch/sparc64/kernel/sparc64_ksyms.c

index bba1b0e02f941bd93ec6ebf41f9443ba7fe510dd..d8e008a04e2b4702b34ed19ff0b2302f034346e8 100644 (file)
@@ -229,7 +229,7 @@ EXPORT_SYMBOL(prom_getproplen);
 EXPORT_SYMBOL(prom_getproperty);
 EXPORT_SYMBOL(prom_node_has_property);
 EXPORT_SYMBOL(prom_setprop);
-EXPORT_SYMBOL(boot_command_line);
+EXPORT_SYMBOL(saved_command_line);
 EXPORT_SYMBOL(prom_apply_obio_ranges);
 EXPORT_SYMBOL(prom_feval);
 EXPORT_SYMBOL(prom_getbool);
index f7d78e05e7fc6d5e4a13d9fccc4e65c2ace52705..beffc82a1e85a632a27f4b0095c2005b60e478d2 100644 (file)
@@ -253,7 +253,7 @@ EXPORT_SYMBOL(prom_getproplen);
 EXPORT_SYMBOL(prom_getproperty);
 EXPORT_SYMBOL(prom_node_has_property);
 EXPORT_SYMBOL(prom_setprop);
-EXPORT_SYMBOL(boot_command_line);
+EXPORT_SYMBOL(saved_command_line);
 EXPORT_SYMBOL(prom_finddevice);
 EXPORT_SYMBOL(prom_feval);
 EXPORT_SYMBOL(prom_getbool);