Commit afaafe50ee15c59010f19273ebfb6c44f0962d7c

Authored by Rusty Russell
Committed by Ingo Molnar
1 parent 8bd1796ded

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

Showing 1 changed file with 4 additions and 4 deletions Side-by-side Diff

include/asm-x86/bootparam.h
... ... @@ -14,10 +14,10 @@
14 14  
15 15 /* extensible setup data list node */
16 16 struct setup_data {
17   - u64 next;
18   - u32 type;
19   - u32 len;
20   - u8 data[0];
  17 + __u64 next;
  18 + __u32 type;
  19 + __u32 len;
  20 + __u8 data[0];
21 21 };
22 22  
23 23 struct setup_header {