Commit afaafe50 authored by Rusty Russell's avatar Rusty Russell Committed by Ingo Molnar

x86: fix up bootparam.h for userspace inclusion

commit 8b664aa6 (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: default avatarRusty Russell <rusty@rustcorp.com.au>
Cc: Huang Ying <ying.huang@intel.com>
Acked-by: default avatarH. Peter Anvin <hpa@zytor.com>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 8bd1796d
...@@ -14,10 +14,10 @@ ...@@ -14,10 +14,10 @@
/* extensible setup data list node */ /* extensible setup data list node */
struct setup_data { struct setup_data {
u64 next; __u64 next;
u32 type; __u32 type;
u32 len; __u32 len;
u8 data[0]; __u8 data[0];
}; };
struct setup_header { struct setup_header {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment