Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177423509
D61350.1794347790.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
925 B
Referenced Files
None
Subscribers
None
D61350.1794347790.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,7 @@
printf("SIG %d", signo);
}
+#ifndef __i386__
void
ktrsyscall_linux(struct ktr_syscall *ktr, register_t **resip,
int *resnarg, char *resc)
@@ -282,11 +283,18 @@
*resip = ip;
*resnarg = narg;
}
+#endif
-#if defined(__amd64__)
+#if defined(__amd64__) || defined(__i386__)
+#ifdef __i386__
+void
+ktrsyscall_linux(struct ktr_syscall *ktr, register_t **resip,
+ int *resnarg, char *resc)
+#else
void
ktrsyscall_linux32(struct ktr_syscall *ktr, register_t **resip,
int *resnarg, char *resc)
+#endif
{
int narg = ktr->ktr_narg;
register_t *ip, *first;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 10, 9:56 PM (14 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41645085
Default Alt Text
D61350.1794347790.diff (925 B)
Attached To
Mode
D61350: kdump: Use types and constants from amd64 linux32 for Linux on i386
Attached
Detach File
Event Timeline