Page MenuHomeFreeBSD

D61350.1794347786.diff
No OneTemporary

Authored By
Unknown
Size
925 B
Referenced Files
None
Subscribers
None

D61350.1794347786.diff

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

Mime Type
text/plain
Expires
Tue, Nov 10, 9:56 PM (10 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41645085
Default Alt Text
D61350.1794347786.diff (925 B)

Event Timeline