Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 781082 Details for
Bug 596382
=media-libs/gstreamer-1.8.3 fails tests gst/gstsystemclock and pipelines/parse-launch (system clock-related?)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bug-596382.patch
bug-596382.patch (text/plain), 1.27 KB, created by
matoro
on 2022-05-27 15:08:04 UTC
(
hide
)
Description:
bug-596382.patch
Filename:
MIME Type:
Creator:
matoro
Created:
2022-05-27 15:08:04 UTC
Size:
1.27 KB
patch
obsolete
>diff --git a/arch/ia64/kernel/sys_ia64.c b/arch/ia64/kernel/sys_ia64.c >index e14db25146c2..cb9e25e31ab9 100644 >--- a/arch/ia64/kernel/sys_ia64.c >+++ b/arch/ia64/kernel/sys_ia64.c >@@ -166,3 +166,13 @@ ia64_mremap (unsigned long addr, unsigned long old_len, unsigned long new_len, u > force_successful_syscall_return(); > return addr; > } >+ >+asmlinkage long >+ia64_clock_getres(const clockid_t which_clock, struct __kernel_timespec __user *tp) >+{ >+ if(which_clock == CLOCK_REALTIME || which_clock == CLOCK_MONOTONIC) { >+ const struct timespec64 rtn_tp = ns_to_timespec64(DIV_ROUND_UP(NSEC_PER_SEC, local_cpu_data->itc_freq)); >+ return put_timespec64(&rtn_tp, tp); >+ } >+ return sys_clock_getres(which_clock, tp); >+} >diff --git a/arch/ia64/kernel/syscalls/syscall.tbl b/arch/ia64/kernel/syscalls/syscall.tbl >index 78b1d03e86e1..72c929d9902b 100644 >--- a/arch/ia64/kernel/syscalls/syscall.tbl >+++ b/arch/ia64/kernel/syscalls/syscall.tbl >@@ -240,7 +240,7 @@ > 228 common timer_delete sys_timer_delete > 229 common clock_settime sys_clock_settime > 230 common clock_gettime sys_clock_gettime >-231 common clock_getres sys_clock_getres >+231 common clock_getres ia64_clock_getres > 232 common clock_nanosleep sys_clock_nanosleep > 233 common fstatfs64 sys_fstatfs64 > 234 common statfs64 sys_statfs64
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 596382
:
449374
|
449376
|
449378
|
781082
|
781088