Re: [x86 setup 09/33] Make definitions for struct e820entry and struct e820map consistent

From: Andi Kleen
Date: Tue Jul 10 2007 - 07:49:05 EST


> diff --git a/include/asm-x86_64/e820.h b/include/asm-x86_64/e820.h
> index 6216fa3..15eb8e2 100644
> --- a/include/asm-x86_64/e820.h
> +++ b/include/asm-x86_64/e820.h
> @@ -11,7 +11,9 @@
> #ifndef __E820_HEADER
> #define __E820_HEADER
>
> -#include <linux/mmzone.h>
> +#ifndef _SETUP
> +# include <linux/mmzone.h>
> +#endif

If the ifdef is valid then the include can be completely removed.

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