From: Rusty Russell Date: Fri, 2 May 2008 11:14:20 +0000 (+1000) Subject: x86: fix up bootparam.h for userspace inclusion X-Git-Tag: v2.6.26-rc2~76^2~3 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;h=afaafe50ee15c59010f19273ebfb6c44f0962d7c;p=linux-2.6-omap-h63xx.git x86: fix up bootparam.h for userspace inclusion commit 8b664aa66e824a0ddf4ec56d41fa0cf7bb374de6 (x86, boot: add linked list of struct setup_data) put a new struct in bootparam.h, but didn't use the userspace-safe types. Signed-off-by: Rusty Russell Cc: Huang Ying Acked-by: H. Peter Anvin Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar --- diff --git a/include/asm-x86/bootparam.h b/include/asm-x86/bootparam.h index e8659909e5f..f62f4733606 100644 --- a/include/asm-x86/bootparam.h +++ b/include/asm-x86/bootparam.h @@ -14,10 +14,10 @@ /* extensible setup data list node */ struct setup_data { - u64 next; - u32 type; - u32 len; - u8 data[0]; + __u64 next; + __u32 type; + __u32 len; + __u8 data[0]; }; struct setup_header {