]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86: fix up bootparam.h for userspace inclusion
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 2 May 2008 11:14:20 +0000 (21:14 +1000)
committerIngo Molnar <mingo@elte.hu>
Sun, 4 May 2008 18:04:45 +0000 (20:04 +0200)
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 <rusty@rustcorp.com.au>
Cc: Huang Ying <ying.huang@intel.com>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/asm-x86/bootparam.h

index e8659909e5f69a93dc781402fc5cf5db9df95c75..f62f4733606bfa9388ad98dce4a0c72fec7e9b2f 100644 (file)
 
 /* 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 {