diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-01-22 07:13:11 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-14 17:27:52 -0500 |
commit | a652d7081bc96b3094e85ca30e47f50185d2f717 (patch) | |
tree | 859a784cf389f2835cd0f91cf625f16ed36198c8 /include | |
parent | 4fc95e867f1e75351b89db3c68212dfcce7ea563 (diff) |
lockdep: sanitize reclaim bit names
s/HELD_OVER/ENABLED/g
so that its similar to the hard and soft-irq names.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/lockdep.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/lockdep.h b/include/linux/lockdep.h index da2e2b25b3b2..6d729c9d1d27 100644 --- a/include/linux/lockdep.h +++ b/include/linux/lockdep.h | |||
@@ -30,13 +30,13 @@ enum lock_usage_bit | |||
30 | LOCK_USED_IN_RECLAIM_FS, | 30 | LOCK_USED_IN_RECLAIM_FS, |
31 | LOCK_ENABLED_SOFTIRQ, | 31 | LOCK_ENABLED_SOFTIRQ, |
32 | LOCK_ENABLED_HARDIRQ, | 32 | LOCK_ENABLED_HARDIRQ, |
33 | LOCK_HELD_OVER_RECLAIM_FS, | 33 | LOCK_ENABLED_RECLAIM_FS, |
34 | LOCK_USED_IN_HARDIRQ_READ, | 34 | LOCK_USED_IN_HARDIRQ_READ, |
35 | LOCK_USED_IN_SOFTIRQ_READ, | 35 | LOCK_USED_IN_SOFTIRQ_READ, |
36 | LOCK_USED_IN_RECLAIM_FS_READ, | 36 | LOCK_USED_IN_RECLAIM_FS_READ, |
37 | LOCK_ENABLED_SOFTIRQ_READ, | 37 | LOCK_ENABLED_SOFTIRQ_READ, |
38 | LOCK_ENABLED_HARDIRQ_READ, | 38 | LOCK_ENABLED_HARDIRQ_READ, |
39 | LOCK_HELD_OVER_RECLAIM_FS_READ, | 39 | LOCK_ENABLED_RECLAIM_FS_READ, |
40 | LOCK_USAGE_STATES | 40 | LOCK_USAGE_STATES |
41 | }; | 41 | }; |
42 | 42 | ||
@@ -49,7 +49,7 @@ enum lock_usage_bit | |||
49 | #define LOCKF_USED_IN_RECLAIM_FS (1 << LOCK_USED_IN_RECLAIM_FS) | 49 | #define LOCKF_USED_IN_RECLAIM_FS (1 << LOCK_USED_IN_RECLAIM_FS) |
50 | #define LOCKF_ENABLED_HARDIRQ (1 << LOCK_ENABLED_HARDIRQ) | 50 | #define LOCKF_ENABLED_HARDIRQ (1 << LOCK_ENABLED_HARDIRQ) |
51 | #define LOCKF_ENABLED_SOFTIRQ (1 << LOCK_ENABLED_SOFTIRQ) | 51 | #define LOCKF_ENABLED_SOFTIRQ (1 << LOCK_ENABLED_SOFTIRQ) |
52 | #define LOCKF_HELD_OVER_RECLAIM_FS (1 << LOCK_HELD_OVER_RECLAIM_FS) | 52 | #define LOCKF_ENABLED_RECLAIM_FS (1 << LOCK_ENABLED_RECLAIM_FS) |
53 | 53 | ||
54 | #define LOCKF_ENABLED_IRQ (LOCKF_ENABLED_HARDIRQ | LOCKF_ENABLED_SOFTIRQ) | 54 | #define LOCKF_ENABLED_IRQ (LOCKF_ENABLED_HARDIRQ | LOCKF_ENABLED_SOFTIRQ) |
55 | #define LOCKF_USED_IN_IRQ (LOCKF_USED_IN_HARDIRQ | LOCKF_USED_IN_SOFTIRQ) | 55 | #define LOCKF_USED_IN_IRQ (LOCKF_USED_IN_HARDIRQ | LOCKF_USED_IN_SOFTIRQ) |
@@ -59,7 +59,7 @@ enum lock_usage_bit | |||
59 | #define LOCKF_USED_IN_RECLAIM_FS_READ (1 << LOCK_USED_IN_RECLAIM_FS_READ) | 59 | #define LOCKF_USED_IN_RECLAIM_FS_READ (1 << LOCK_USED_IN_RECLAIM_FS_READ) |
60 | #define LOCKF_ENABLED_HARDIRQ_READ (1 << LOCK_ENABLED_HARDIRQ_READ) | 60 | #define LOCKF_ENABLED_HARDIRQ_READ (1 << LOCK_ENABLED_HARDIRQ_READ) |
61 | #define LOCKF_ENABLED_SOFTIRQ_READ (1 << LOCK_ENABLED_SOFTIRQ_READ) | 61 | #define LOCKF_ENABLED_SOFTIRQ_READ (1 << LOCK_ENABLED_SOFTIRQ_READ) |
62 | #define LOCKF_HELD_OVER_RECLAIM_FS_READ (1 << LOCK_HELD_OVER_RECLAIM_FS_READ) | 62 | #define LOCKF_ENABLED_RECLAIM_FS_READ (1 << LOCK_ENABLED_RECLAIM_FS_READ) |
63 | 63 | ||
64 | #define LOCKF_ENABLED_IRQ_READ \ | 64 | #define LOCKF_ENABLED_IRQ_READ \ |
65 | (LOCKF_ENABLED_HARDIRQ_READ | LOCKF_ENABLED_SOFTIRQ_READ) | 65 | (LOCKF_ENABLED_HARDIRQ_READ | LOCKF_ENABLED_SOFTIRQ_READ) |