Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 163178 Details for
Bug 235078
app-emulation/kqemu-1.3.0_pre11: patches for x86-fbsd
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
patch
kqemu-1.3.0_pre11-freebsd.patch (text/plain), 818 bytes, created by
hadzhimurad
on 2008-08-18 06:32:20 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
hadzhimurad
Created:
2008-08-18 06:32:20 UTC
Size:
818 bytes
patch
obsolete
>--- kqemu-freebsd.c 2008-08-17 13:41:52.000000000 +0200 >+++ kqemu-freebsd.c.new 2008-08-17 14:02:00.000000000 +0200 >@@ -208,9 +208,17 @@ > int CDECL kqemu_schedule(void) > { > /* kqemu_log("kqemu_schedule\n"); */ >+#if __FreeBSD_version < 700044 > mtx_lock_spin(&sched_lock); > mi_switch(SW_VOL, NULL); > mtx_unlock_spin(&sched_lock); >+#else >+ /* -current no longer uses sched_lock */ >+ struct thread *td = curthread; >+ thread_lock(td); >+ mi_switch(SW_VOL, NULL); >+ thread_unlock(td); >+#endif > return SIGPENDING(curthread); > } > #endif >@@ -320,6 +328,9 @@ > #if __FreeBSD_version >= 500000 > dev->si_drv1 = NULL; > TAILQ_REMOVE(&kqemuhead, ks, kqemu_ent); >+#if __FreeBSD_version >= 700024 >+ dev_relthread(dev); >+#endif > destroy_dev(dev); > #endif > free(ks, M_KQEMU);
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 Raw
Actions:
View
Attachments on
bug 235078
:
163177
| 163178 |
163180
|
163182