summaryrefslogtreecommitdiff
path: root/hack/asm-generic
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@beefcake.parabola.nu>2018-05-16 19:46:32 -0400
committerLuke Shumaker <lukeshu@beefcake.parabola.nu>2018-05-16 19:46:32 -0400
commit4b0fcc56f95c934e110f936076d158758a8354b4 (patch)
tree98a2eee4ad3a6913448a335efcd76ec61f7bef41 /hack/asm-generic
parent4cb474502c1325b2325ec642a520e1ed44eb317e (diff)
improve comment
Diffstat (limited to 'hack/asm-generic')
-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>