Skip to content

Commit

Permalink
x86: fix up bootparam.h for userspace inclusion
Browse files Browse the repository at this point in the history
commit 8b664aa (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>
  • Loading branch information
Rusty Russell authored and Ingo Molnar committed May 4, 2008
1 parent 8bd1796 commit afaafe5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/asm-x86/bootparam.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit afaafe5

Please sign in to comment.