Changes in kernel/generic/src/synch/rcu.c [63e27ef:897fd8f1] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/synch/rcu.c
r63e27ef r897fd8f1 960 960 SYNCH_NO_TIMEOUT, SYNCH_FLAGS_INTERRUPTIBLE); 961 961 962 if (ret == E SYNCH_INTERRUPTED) {962 if (ret == EINTR) { 963 963 spinlock_unlock(&rcu.gp_lock); 964 964 return false; … … 1018 1018 1019 1019 /* rcu.expedite_now was signaled. */ 1020 if (ret == E SYNCH_OK_BLOCKED) {1020 if (ret == EOK) { 1021 1021 *expedite = true; 1022 1022 } … … 1024 1024 spinlock_unlock(&rcu.gp_lock); 1025 1025 1026 return (ret != E SYNCH_INTERRUPTED);1026 return (ret != EINTR); 1027 1027 } 1028 1028 } … … 1271 1271 int ret = _condvar_wait_timeout_spinlock(&rcu.gp_ended, &rcu.gp_lock, 1272 1272 SYNCH_NO_TIMEOUT, SYNCH_FLAGS_INTERRUPTIBLE); 1273 interrupted = (ret == E SYNCH_INTERRUPTED);1273 interrupted = (ret == EINTR); 1274 1274 } 1275 1275 … … 1332 1332 &rcu.gp_lock, SYNCH_NO_TIMEOUT, SYNCH_FLAGS_INTERRUPTIBLE); 1333 1333 1334 interrupted = (ret == E SYNCH_INTERRUPTED);1334 interrupted = (ret == EINTR); 1335 1335 } 1336 1336 … … 1406 1406 spinlock_unlock(&rcu.gp_lock); 1407 1407 1408 return (ret != E SYNCH_INTERRUPTED);1408 return (ret != EINTR); 1409 1409 } 1410 1410
Note:
See TracChangeset
for help on using the changeset viewer.