diff options
author | mini <mini@FreeBSD.org> | 2002-09-16 19:52:52 +0000 |
---|---|---|
committer | mini <mini@FreeBSD.org> | 2002-09-16 19:52:52 +0000 |
commit | 6077cee24228562d15e285d132213eeb718439b7 (patch) | |
tree | 19954471d255ce812e704c80bd079f406bc31378 /lib/libpthread/thread/thr_msync.c | |
parent | ed825a4bd02ff20716e59e0da4db93b761df2734 (diff) | |
download | FreeBSD-src-6077cee24228562d15e285d132213eeb718439b7.zip FreeBSD-src-6077cee24228562d15e285d132213eeb718439b7.tar.gz |
Make libpthread KSE aware.
Reviewed by: deischen, julian
Approved by: -arch
Diffstat (limited to 'lib/libpthread/thread/thr_msync.c')
-rw-r--r-- | lib/libpthread/thread/thr_msync.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/lib/libpthread/thread/thr_msync.c b/lib/libpthread/thread/thr_msync.c index 4d9a950..302f314f 100644 --- a/lib/libpthread/thread/thr_msync.c +++ b/lib/libpthread/thread/thr_msync.c @@ -14,16 +14,6 @@ __weak_reference(__msync, msync); int -_msync(void *addr, size_t len, int flags) -{ - int ret; - - ret = __sys_msync(addr, len, flags); - - return (ret); -} - -int __msync(void *addr, size_t len, int flags) { int ret; @@ -35,7 +25,7 @@ __msync(void *addr, size_t len, int flags) * a cancellation point, as per the standard. sigh. */ _thread_enter_cancellation_point(); - ret = _msync(addr, len, flags); + ret = __sys_msync(addr, len, flags); _thread_leave_cancellation_point(); return ret; |