lkml.org 
[lkml]   [2009]   [Jun]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 4/9] x86/boot: adding hw subarch ID for Moorestown

* Pan, Jacob jun <jacob.jun.pan@intel.com> 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


\
 
 \ /
  Last update: 2009-06-26 09:21    [W:0.147 / U:0.528 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site