@@ -103,4 +103,11 @@ jiffies_to_old_timeval32(unsigned long j
#undef ns_to_timeval
#define ns_to_timeval ns_to_old_timeval32
+/*
+ * Some data types as stored in coredump.
+ */
+#define user_long_t compat_long_t
+#define user_siginfo_t compat_siginfo_t
+#define copy_siginfo_to_external copy_siginfo_to_external32
+
#include "../../../fs/binfmt_elf.c"
@@ -106,4 +106,11 @@ jiffies_to_old_timeval32(unsigned long j
#undef ns_to_timeval
#define ns_to_timeval ns_to_old_timeval32
+/*
+ * Some data types as stored in coredump.
+ */
+#define user_long_t compat_long_t
+#define user_siginfo_t compat_siginfo_t
+#define copy_siginfo_to_external copy_siginfo_to_external32
+
#include "../../../fs/binfmt_elf.c"