diff options
author | Josh Triplett <josht@us.ibm.com> | 2006-09-25 23:32:36 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-26 08:48:57 -0700 |
commit | 182daa55679d9b3557d27609e7ab4bfab749ac5b (patch) | |
tree | 00d49a49347a28b29b6011df0185ece1e4206f10 /arch/alpha/Kconfig | |
parent | c7f40ff15aba95bc09a759024d62b2c344ef0856 (diff) | |
download | linux-182daa55679d9b3557d27609e7ab4bfab749ac5b.tar.bz2 |
[PATCH] mtrr: Add lock annotations for prepare_set and post_set
The functions prepare_set and post_set in kernel/cpu/mtrr/generic.c wrap
the spinlock set_atomicity_lock: prepare_set returns with the lock held,
and post_set releases the lock without acquiring it. Add lock annotations
to these two functions so that sparse can check callers for lock pairing,
and so that sparse will not complain about these functions since they
intentionally use locks in this manner.
Signed-off-by: Josh Triplett <josh@freedesktop.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/alpha/Kconfig')
0 files changed, 0 insertions, 0 deletions