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