summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hack/asm-generic/types.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/hack/asm-generic/types.h b/hack/asm-generic/types.h
index ae07283..78b7b48 100644
--- a/hack/asm-generic/types.h
+++ b/hack/asm-generic/types.h
@@ -1,6 +1,10 @@
/* Override Linux' (4.16.1) <asm-generic/types.h> to agree with GNU
* libc's (2.27) <bits/types.h> so that we can use Linux' __u64 and
- * __s64 with libc's PRIu64 and PRUi64. */
+ * __s64 with libc's PRIu64 and PRId64.
+ *
+ * Linux 4.16.1 normally uses int-ll64.h unconditionally; we need it
+ * to use int-l64.h on platforms where "long" and "long long" are both
+ * 64 bits. */
#if __WORDSIZE == 64
# include <asm-generic/int-l64.h>