Page MenuHomeFreeBSD

D62280.1796212445.diff
No OneTemporary

Authored By
Unknown
Size
569 B
Referenced Files
None
Subscribers
None

D62280.1796212445.diff

diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c
--- a/sys/compat/linux/linux_misc.c
+++ b/sys/compat/linux/linux_misc.c
@@ -553,6 +553,12 @@
strlcpy(utsname.machine, "aarch64", LINUX_MAX_UTSNAME);
#elif defined(__i386__)
strlcpy(utsname.machine, "i686", LINUX_MAX_UTSNAME);
+#elif defined(__powerpc64__)
+#if _BYTE_ORDER == _LITTLE_ENDIAN
+ strlcpy(utsname.machine, "ppc64le", LINUX_MAX_UTSNAME);
+#else
+ strlcpy(utsname.machine, "ppc64", LINUX_MAX_UTSNAME);
+#endif
#endif
return (copyout(&utsname, args->buf, sizeof(utsname)));

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 2, 11:54 AM (19 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42140785
Default Alt Text
D62280.1796212445.diff (569 B)

Event Timeline