[PATCH] x86: fix xsave build error

From: Ingo Molnar
Date: Wed Aug 13 2008 - 06:46:26 EST


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@xxxxxxx>
---
include/asm-x86/sigcontext.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/asm-x86/sigcontext.h b/include/asm-x86/sigcontext.h
index 899fe2f..ee813f4 100644
--- a/include/asm-x86/sigcontext.h
+++ b/include/asm-x86/sigcontext.h
@@ -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];
};

/*
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/