diff options
author | Luca Barbieri <luca@luca-barbieri.com> | 2010-03-11 23:08:45 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-03-13 01:21:21 +0100 |
commit | b97c4bc16734a2e597dac7f91ee9eb78f4aeef9a (patch) | |
tree | ee0b8c4633c53bea634dde8a0ed711d1bef7b2b8 /mm/mempolicy.c | |
parent | x86/mce: Fix RCU lockdep splats (diff) | |
download | linux-b97c4bc16734a2e597dac7f91ee9eb78f4aeef9a.tar.xz linux-b97c4bc16734a2e597dac7f91ee9eb78f4aeef9a.zip |
locking: Make sparse work with inline spinlocks and rwlocks
Currently sparse does not work with inline spinlock and rwlock functions.
The problem is that they do not use the __acquires/__releases out-of-line
functions, but use inline functions with no sparse annotations.
This patch adds the appropriate annotations to make it work properly.
Signed-off-by: Luca Barbieri <luca@luca-barbieri.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'mm/mempolicy.c')
0 files changed, 0 insertions, 0 deletions