Re: [PATCH 4/9] x86/boot: adding hw subarch ID for Moorestown

From: Ingo Molnar
Date: Fri Jun 26 2009 - 03:18:15 EST



* Pan, Jacob jun <jacob.jun.pan@xxxxxxxxx> wrote:

> +++ b/arch/x86/include/asm/bootparam.h
> @@ -109,4 +109,9 @@ struct boot_params {
> __u8 _pad9[276]; /* 0xeec */
> } __attribute__((packed));
>
> +#define N_X86_SUBARCHS 4
> +#define X86_SUBARCH_PC 0
> +#define X86_SUBARCH_LGUEST 1
> +#define X86_SUBARCH_XEN 2
> +#define X86_SUBARCH_MRST 3
> #endif /* _ASM_X86_BOOTPARAM_H */

please use enums.

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