Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178198413
D61350.1796238302.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
981 B
Referenced Files
None
Subscribers
None
D61350.1796238302.diff
View Options
diff --git a/usr.bin/kdump/linux.c b/usr.bin/kdump/linux.c
--- a/usr.bin/kdump/linux.c
+++ b/usr.bin/kdump/linux.c
@@ -43,7 +43,7 @@
#elif defined(__aarch64__)
#include <arm64/linux/linux.h>
#elif defined(__i386__)
-#include <i386/linux/linux.h>
+#include <amd64/linux32/linux.h>
#endif
#include <compat/linux/linux.h>
@@ -61,6 +61,9 @@
printf("SIG %d", signo);
}
+#ifdef __i386__
+#define ktrsyscall_linux32 ktrsyscall_linux
+#else
void
ktrsyscall_linux(struct ktr_syscall *ktr, register_t **resip,
int *resnarg, char *resc)
@@ -282,8 +285,9 @@
*resip = ip;
*resnarg = narg;
}
+#endif
-#if defined(__amd64__)
+#if defined(__amd64__) || defined(__i386__)
void
ktrsyscall_linux32(struct ktr_syscall *ktr, register_t **resip,
int *resnarg, char *resc)
@@ -484,7 +488,7 @@
*resip = ip;
*resnarg = narg;
}
-#endif /* __amd64__ */
+#endif /* __amd64__ || __i386__ */
static void
ktrsigset(const char *name, const l_sigset_t *mask, size_t sz)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 2, 7:05 PM (11 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41877113
Default Alt Text
D61350.1796238302.diff (981 B)
Attached To
Mode
D61350: kdump: Use types and constants from amd64 linux32 for Linux on i386
Attached
Detach File
Event Timeline