diff options
| author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-07-05 13:13:03 -0400 |
|---|---|---|
| committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-07-05 13:13:03 -0400 |
| commit | 5e66dd6d66ffe758b39b6dcadf2330753ee1159b (patch) | |
| tree | a72cdcff4448e4af9425cc213ddf56ab23e697fe /lib/locking-selftest-wlock.h | |
| parent | 026477c1141b67e98e3bd8bdedb7d4b88a3ecd09 (diff) | |
| parent | ca78f6baca863afe2e6a244a0fe94b3a70211d46 (diff) | |
Merge branch 'master' of /home/trondmy/kernel/linux-2.6/
Diffstat (limited to 'lib/locking-selftest-wlock.h')
| -rw-r--r-- | lib/locking-selftest-wlock.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/locking-selftest-wlock.h b/lib/locking-selftest-wlock.h new file mode 100644 index 000000000000..0815322d99ed --- /dev/null +++ b/lib/locking-selftest-wlock.h | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | #undef LOCK | ||
| 2 | #define LOCK WL | ||
| 3 | |||
| 4 | #undef UNLOCK | ||
| 5 | #define UNLOCK WU | ||
| 6 | |||
| 7 | #undef RLOCK | ||
| 8 | #define RLOCK RL | ||
| 9 | |||
| 10 | #undef WLOCK | ||
| 11 | #define WLOCK WL | ||
| 12 | |||
| 13 | #undef INIT | ||
| 14 | #define INIT RWI | ||
