FreeBSD Bugzilla – Attachment 118543 Details for
Bug 160799
[patch] emulators/rtc AND 9.0-BETA2 >= r225618 rtc.ko: Exec format error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch-emulators__rtc.txt
patch-emulators__rtc.txt (text/plain), 667 bytes, created by
Rainer Hurling
on 2011-09-18 18:09:35 UTC
(
hide
)
Description:
patch-emulators__rtc.txt
Filename:
MIME Type:
Creator:
Rainer Hurling
Created:
2011-09-18 18:09:35 UTC
Size:
667 bytes
patch
obsolete
>diff -Naur rtc.orig/files/rtc_linux.c rtc/files/rtc_linux.c >--- rtc.orig/files/rtc_linux.c 2001-09-16 09:05:18.000000000 +0200 >+++ rtc/files/rtc_linux.c 2011-09-18 10:07:43.000000000 +0200 >@@ -71,10 +71,18 @@ > switch (args->cmd & 0xffff) { > case LINUX_RTC_PIE_ON: > args->cmd=RTCIO_PIE_ON; >+#if __FreeBSD_version >= 900044 >+ return sys_ioctl(p, (struct ioctl_args*)args); >+#else > return ioctl(p, (struct ioctl_args*)args); >+#endif > case LINUX_RTC_IRQP_SET: > args->cmd=RTCIO_IRQP_SET; >+#if __FreeBSD_version >= 900044 >+ return sys_ioctl(p, (struct ioctl_args*)args); >+#else > return ioctl(p, (struct ioctl_args*)args); >+#endif > } > return (ENOIOCTL); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 160799
:
118542
| 118543