Changeset 53634f9 in mainline for kernel/test/synch/rwlock4.c
- Timestamp:
- 2009-01-31T13:24:32Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1e241723
- Parents:
- 896ad9f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/synch/rwlock4.c
r896ad9f r53634f9 61 61 spinlock_lock(&rw_lock); 62 62 rc = seed % max; 63 seed = (((seed <<2) ^ (seed>>2)) * 487) + rc;63 seed = (((seed << 2) ^ (seed >> 2)) * 487) + rc; 64 64 spinlock_unlock(&rw_lock); 65 65 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.