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

From: Matt Mackall
Date: Tue Feb 12 2008 - 14:01:41 EST



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.
>
> This patch is part of the Linux Tiny project, and is based on previous
> work done by Matt Mackall <mpm@xxxxxxxxxxx>.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@xxxxxxxxxxxxxxxxxx>

Thanks for working on this.

Acked-by: Matt Mackall <mpm@xxxxxxxxxxx>

--
Mathematics is the supreme nostalgia of our time.

--
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/