All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] [PATCH] parisc: unbreak setup.c re command_line
@ 2007-02-23 23:32 Alexey Dobriyan
  0 siblings, 0 replies; only message in thread
From: Alexey Dobriyan @ 2007-02-23 23:32 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, parisc-linux

What compiler is supposed to do upon seeing

	char __attribute__((__section__ (".init.data")))	command_line[1024]
	     __attribute__((__section__(".data.read_mostly")));

?

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

 arch/parisc/kernel/setup.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/arch/parisc/kernel/setup.c
+++ b/arch/parisc/kernel/setup.c
@@ -45,7 +45,7 @@ #include <asm/pdc_chassis.h>
 #include <asm/io.h>
 #include <asm/setup.h>
 
-char	__initdata command_line[COMMAND_LINE_SIZE] __read_mostly;
+static char __initdata command_line[COMMAND_LINE_SIZE];
 
 /* Intended for ccio/sba/cpu statistics under /proc/bus/{runway|gsc} */
 struct proc_dir_entry * proc_runway_root __read_mostly = NULL;

_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-23 23:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-23 23:32 [parisc-linux] [PATCH] parisc: unbreak setup.c re command_line Alexey Dobriyan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.