diff options
author | kib <kib@FreeBSD.org> | 2013-07-20 13:39:41 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2013-07-20 13:39:41 +0000 |
commit | 82f12b623790126df303a34e4411b60d2dbef6bb (patch) | |
tree | d12367b3f2f85d553f4b7f85302bd00bec301df0 /sys/sys/syscallsubr.h | |
parent | e36ca7ff41a890c53e3b4d3dfbbf90501f1f2cb8 (diff) | |
download | FreeBSD-src-82f12b623790126df303a34e4411b60d2dbef6bb.zip FreeBSD-src-82f12b623790126df303a34e4411b60d2dbef6bb.tar.gz |
id_t is 64bit, provide the compat32 wrapper for clock_getcpuclockid2(2).
Reported and tested by: Petr Salinger <Petr.Salinger@seznam.cz>
PR: threads/180652
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/sys/syscallsubr.h')
-rw-r--r-- | sys/sys/syscallsubr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/syscallsubr.h b/sys/sys/syscallsubr.h index 49e8be1..75278c3 100644 --- a/sys/sys/syscallsubr.h +++ b/sys/sys/syscallsubr.h @@ -76,6 +76,8 @@ int kern_chmod(struct thread *td, char *path, enum uio_seg pathseg, int mode); int kern_chown(struct thread *td, char *path, enum uio_seg pathseg, int uid, int gid); +int kern_clock_getcpuclockid2(struct thread *td, id_t id, int which, + clockid_t *clk_id); int kern_clock_getres(struct thread *td, clockid_t clock_id, struct timespec *ts); int kern_clock_gettime(struct thread *td, clockid_t clock_id, |