Re: [PATCH] Configure out DMI scanning code v2 (Linux Tiny)

From: Andrew Morton
Date: Tue Feb 12 2008 - 15:09:40 EST


On Tue, 12 Feb 2008 12:56:45 -0600
Matt Mackall <mpm@xxxxxxxxxxx> wrote:

>
> On Tue, 2008-02-12 at 10:04 +0100, Thomas Petazzoni wrote:
>
> > Turn CONFIG_DMI into a selectable option if EMBEDDED is defined, in
> > order to be able to remove the DMI table scanning code if it's not
> > needed, and then reduce the kernel code size.
> >
> > With CONFIG_DMI (i.e before) :
> >
> > text data bss dec hex filename
> > 1076076 128656 98304 1303036 13e1fc vmlinux
> >
> > Without CONFIG_DMI (i.e after) :
> >
> > text data bss dec hex filename
> > 1068092 126308 98304 1292704 13b9a0 vmlinux
> >
> > Result:
> >
> > text data bss dec hex filename
> > -7984 -2348 0 -10332 -285c vmlinux
> >
> > The new option appears in "Processor type and features", only when
> > CONFIG_EMBEDDED is defined.

Given this:

> > This patch is part of the Linux Tiny project, and is based on previous
> > work done by Matt Mackall <mpm@xxxxxxxxxxx>.


> Acked-by: Matt Mackall <mpm@xxxxxxxxxxx>

That should have been "Signed-off-by:". I'll speculatively make that
change.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/