From: Ralf Baechle <ralf@linux-mips.org>
To: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Cc: dmitri.vorobiev@movial.com, linux-mips@linux-mips.org
Subject: Re: [PATCH] [MIPS] Move several variables from .bss to .init.data
Date: Mon, 23 Nov 2009 13:46:33 +0000 [thread overview]
Message-ID: <20091123134633.GB28687@linux-mips.org> (raw)
In-Reply-To: <20091123.222609.74748367.anemo@mba.ocn.ne.jp>
On Mon, Nov 23, 2009 at 10:26:09PM +0900, Atsushi Nemoto wrote:
> On Mon, 23 Nov 2009 13:53:37 +0200, Dmitri Vorobiev <dmitri.vorobiev@movial.com> wrote:
> > Several static uninitialized variables are used in the scope of
> > __init functions but are themselves not marked as __initdata.
> > This patch is to put those variables to where they belong and
> > to reduce the memory footprint a little bit.
> >
> > Also, a couple of lines with spaces instead of tabs were fixed.
> >
> > Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.com>
> > ---
> > arch/mips/ar7/platform.c | 2 +-
> > arch/mips/sgi-ip22/ip22-eisa.c | 4 ++--
> > arch/mips/sgi-ip22/ip22-setup.c | 2 +-
> > arch/mips/sgi-ip32/ip32-setup.c | 2 +-
> > arch/mips/sni/setup.c | 2 +-
> > arch/mips/txx9/generic/setup.c | 2 +-
> > arch/mips/txx9/rbtx4939/setup.c | 4 ++--
> > 7 files changed, 9 insertions(+), 9 deletions(-)
>
> NAK, at least for txx9 parts. The struct mtd_partition arrays will be
> referenced by mtd map drivers via platform_data.
I'll drop the txx9 parts then.
> And for console option strings parts, I doubt these can be marked as
> __initdata. Theoretically, the console driver might be a module,
No; if the driver is a module we don't offer console functionality. Typical
example:
config SERIAL_8250
tristate "8250/16550 and compatible serial support"
select SERIAL_CORE
[...]
config SERIAL_8250_CONSOLE
bool "Console on 8250/16550 and compatible serial port"
depends on SERIAL_8250=y
select SERIAL_CORE_CONSOLE
I think we consistently do this for all console drivers.
Ralf
next prev parent reply other threads:[~2009-11-23 13:46 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-23 11:53 [PATCH] [MIPS] Move several variables from .bss to .init.data Dmitri Vorobiev
2009-11-23 11:58 ` Florian Fainelli
2009-11-23 12:14 ` Ralf Baechle
2009-11-23 13:26 ` Atsushi Nemoto
2009-11-23 13:43 ` Dmitri Vorobiev
2009-11-23 14:06 ` Atsushi Nemoto
2009-11-23 14:37 ` Dmitri Vorobiev
2009-11-23 15:19 ` Atsushi Nemoto
2009-11-23 13:46 ` Ralf Baechle [this message]
2009-11-23 13:59 ` Atsushi Nemoto
2009-11-23 14:04 ` Ralf Baechle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091123134633.GB28687@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=anemo@mba.ocn.ne.jp \
--cc=dmitri.vorobiev@movial.com \
--cc=linux-mips@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).