Skip to content

Commit

Permalink
x86: fix xsave build error
Browse files Browse the repository at this point in the history
fix this build failure with certain glibc versions:

In file included from /usr/include/bits/sigcontext.h:28,
                 from /usr/include/signal.h:333,
                 from Documentation/accounting/getdelays.c:24:
/home/mingo/tip/usr/include/asm/sigcontext.h:191: error: expected specifier-qualifier-list before ‘u64’

Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Ingo Molnar committed Aug 13, 2008
1 parent 6152e4b commit 26d809a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/asm-x86/sigcontext.h
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,9 @@ struct sigcontext {
#endif /* !__i386__ */

struct _xsave_hdr {
u64 xstate_bv;
u64 reserved1[2];
u64 reserved2[5];
__u64 xstate_bv;
__u64 reserved1[2];
__u64 reserved2[5];
};

/*
Expand Down

0 comments on commit 26d809a

Please sign in to comment.