uapi: convert u64 to __u64 in exported headers
authorMike Frysinger <vapier@gentoo.org>
Thu, 23 Jan 2014 23:54:11 +0000 (15:54 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 24 Jan 2014 00:36:55 +0000 (16:36 -0800)
The u64 type is not defined in any exported kernel headers, so trying to
use it will lead to build failures.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/uapi/linux/nfs4.h
include/uapi/linux/perf_event.h

index 788128ebac45e4238a0a2338a494d5f4eb74dfac..35f5f4c6c260df7ed2ee74b845522a485ed5394e 100644 (file)
 #define NFS4_SECINFO_STYLE4_CURRENT_FH 0
 #define NFS4_SECINFO_STYLE4_PARENT     1
 
-#define NFS4_MAX_UINT64        (~(u64)0)
+#define NFS4_MAX_UINT64        (~(__u64)0)
 
 /* An NFS4 sessions server must support at least NFS4_MAX_OPS operations.
  * If a compound requires more operations, adjust NFS4_MAX_OPS accordingly.
index e244ed412745e544cf480c549d2439c6522cfb98..853bc1ccb39552ab5c06d08514a75862aa7c1680 100644 (file)
@@ -788,7 +788,7 @@ union perf_mem_data_src {
 #define PERF_MEM_TLB_SHIFT     26
 
 #define PERF_MEM_S(a, s) \
-       (((u64)PERF_MEM_##a##_##s) << PERF_MEM_##a##_SHIFT)
+       (((__u64)PERF_MEM_##a##_##s) << PERF_MEM_##a##_SHIFT)
 
 /*
  * single taken branch record layout: