x86: fix xsave build error
authorIngo Molnar <mingo@elte.hu>
Wed, 13 Aug 2008 10:46:26 +0000 (12:46 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 13 Aug 2008 10:59:29 +0000 (12:59 +0200)
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>
include/asm-x86/sigcontext.h

index 899fe2f8abb91b2771d09f906fca4e6424e4e30d..ee813f4fe5d531f13aff53defed8a581ce5913fc 100644 (file)
@@ -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];
 };
 
 /*