Re: [PATCH 4/33] i386: CONFIG_PHYSICAL_START cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 01, 2006 at 05:03:19AM -0600, Eric W. Biederman wrote:
> Defining __PHYSICAL_START and __KERNEL_START in asm-i386/page.h works but
> it triggers a full kernel rebuild for the silliest of reasons.  This
> modifies the users to directly use CONFIG_PHYSICAL_START and linux/config.h
> which prevents the full rebuild problem, which makes the code much
> more maintainer and hopefully user friendly.
> 
> Signed-off-by: Eric W. Biederman <[email protected]>
> ---
>  arch/i386/boot/compressed/head.S |    8 ++++----
>  arch/i386/boot/compressed/misc.c |    8 ++++----
>  arch/i386/kernel/vmlinux.lds.S   |    3 ++-
>  include/asm-i386/page.h          |    3 ---
>  4 files changed, 10 insertions(+), 12 deletions(-)
> 
> diff --git a/arch/i386/boot/compressed/head.S b/arch/i386/boot/compressed/head.S
> index b5893e4..8f28ecd 100644
> --- a/arch/i386/boot/compressed/head.S
> +++ b/arch/i386/boot/compressed/head.S
> @@ -23,9 +23,9 @@
>   */
>  .text
>  
> +#include <linux/config.h>

You already have full access to all CONFIG_* symbols - kbuild includes
it on the commandline. So please kill this include.

	Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux