Re: [PATCH] Split out screen_info from tty.h

From: Brian Gerst
Date: Thu Dec 29 2005 - 11:59:24 EST


Horst von Brand wrote:
> Brian Gerst <bgerst@xxxxxxxxxxxxx> wrote:
>> This makes it possible for boot code to use screen_info without dragging in
>> all of tty.h.
>
> Why is that a problem? Introducing yet another .h that developers have to
> remember and use appropiately has a cost, so... and I see no changes except
> for different #include lines in your patch.

x86_64 carried a copy of screen_info in miscsetup.h which was out of
date with the master copy in tty.h. It couldn't include the full tty.h
because it is compiling in 32-bit mode (causes warnings from unrelated
junk in tty.h). Splitting it out means that x86_64 can get the bare
minimum it needs to compile the boot loader while having the definition
in one place.

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