aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/kdump
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2018-04-24 19:23:26 +0000
committerEd Maste <emaste@FreeBSD.org>2018-04-24 19:23:26 +0000
commitfc7d33b49e838b58abcdadc76ef436471ac6f2b2 (patch)
treea40983ced7860189d61392959e559b5a25ef6c63 /usr.bin/kdump
parentc653786de0e2e9db1cab6da5b65ea9a0591ed06c (diff)
downloadsrc-fc7d33b49e838b58abcdadc76ef436471ac6f2b2.tar.gz
src-fc7d33b49e838b58abcdadc76ef436471ac6f2b2.zip
Notes
Diffstat (limited to 'usr.bin/kdump')
-rw-r--r--usr.bin/kdump/kdump.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c
index a2ecc67e3740..a1b92445f9bd 100644
--- a/usr.bin/kdump/kdump.c
+++ b/usr.bin/kdump/kdump.c
@@ -758,18 +758,14 @@ syscallabi(u_int sv_flags)
switch (sv_flags & SV_ABI_MASK) {
case SV_ABI_FREEBSD:
return (SYSDECODE_ABI_FREEBSD);
-#if defined(__amd64__) || defined(__i386__)
case SV_ABI_LINUX:
-#ifdef __amd64__
+#ifdef __LP64__
if (sv_flags & SV_ILP32)
return (SYSDECODE_ABI_LINUX32);
#endif
return (SYSDECODE_ABI_LINUX);
-#endif
-#if defined(__aarch64__) || defined(__amd64__)
case SV_ABI_CLOUDABI:
return (SYSDECODE_ABI_CLOUDABI64);
-#endif
default:
return (SYSDECODE_ABI_UNKNOWN);
}