summaryrefslogtreecommitdiffstats
path: root/include/linux/compiler-gcc2.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/compiler-gcc2.h')
-rw-r--r--include/linux/compiler-gcc2.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/compiler-gcc2.h b/include/linux/compiler-gcc2.h
index 5a359153ffd9..ebed17660c5f 100644
--- a/include/linux/compiler-gcc2.h
+++ b/include/linux/compiler-gcc2.h
@@ -22,3 +22,8 @@
# define __attribute_pure__ __attribute__((pure))
# define __attribute_const__ __attribute__((__const__))
#endif
+
+/* GCC 2.95.x/2.96 recognize __va_copy, but not va_copy. Actually later GCC's
+ * define both va_copy and __va_copy, but the latter may go away, so limit this
+ * to this header */
+#define va_copy __va_copy
OpenPOWER on IntegriCloud