Re: [PATCH 1/2] x86, setup: reorgize the early_console_setup

From: H. Peter Anvin
Date: Mon Aug 02 2010 - 03:19:50 EST

On 08/02/2010 12:13 AM, Yinghai Lu wrote:
> Seperate early_console_setup from tty.c
> also make main.c to include printf.c/string.c/cmdline.c
> will reuse early_serial_console.c/string.c/printf.c/cmdline.c in compressed/misc.c

The way to reuse files in boot/compressed/ would be just to create .c
files in boot/compressed/ with, for example:

/* string.c */
#include "../string.c"


H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at