diff options
author | Vegard Nossum <[email protected]> | 2008-07-29 13:31:47 +0200 |
---|---|---|
committer | John W. Linville <[email protected]> | 2008-07-29 16:55:08 -0400 |
commit | 77bbadd5ea893f364a0d1879723037678a03725c (patch) | |
tree | 9182dcb134524ce01bbd27544fa94d9e1c9aeef0 /fs/jbd2/commit.c | |
parent | 14db74bcc3f7a779cf395a47e26b06a28207571a (diff) |
PS3: gelic: use unsigned long for irqflags
The semantic patch I used was this:
@@
expression lock;
identifier flags;
expression subclass;
@@
- unsigned int flags;
+ unsigned long flags;
...
<+...
(
spin_lock_irqsave(lock, flags)
|
_spin_lock_irqsave(lock)
|
spin_unlock_irqrestore(lock, flags)
|
_spin_unlock_irqrestore(lock, flags)
|
read_lock_irqsave(lock, flags)
|
_read_lock_irqsave(lock)
|
read_unlock_irqrestore(lock, flags)
|
_read_unlock_irqrestore(lock, flags)
|
write_lock_irqsave(lock, flags)
|
_write_lock_irqsave(lock)
|
write_unlock_irqrestore(lock, flags)
|
_write_unlock_irqrestore(lock, flags)
|
spin_lock_irqsave_nested(lock, flags, subclass)
|
_spin_lock_irqsave_nested(lock, subclass)
|
spin_unlock_irqrestore(lock, flags)
|
_spin_unlock_irqrestore(lock, flags)
|
_raw_spin_lock_flags(lock, flags)
|
__raw_spin_lock_flags(lock, flags)
)
...+>
This patch was generated using the Coccinelle framework.
Cc: Masakazu Mokuno <[email protected]>
Cc: Julia Lawall <[email protected]>
Cc: Alexey Dobriyan <[email protected]>
Signed-off-by: Vegard Nossum <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions