linux/arch/i386/kernel/cpu/mtrr
Josh Triplett 182daa5567 [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>
2006-09-26 08:48:57 -07:00
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
amd.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
centaur.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cyrix.c [PATCH] cyrix: eliminate bad section references 2005-05-05 16:36:47 -07:00
generic.c [PATCH] mtrr: Add lock annotations for prepare_set and post_set 2006-09-26 08:48:57 -07:00
if.c [PATCH] capable/capability.h (arch/) 2006-01-11 18:42:14 -08:00
main.c [PATCH] sem2mutex: misc static one-file mutexes 2006-03-26 08:56:55 -08:00
mtrr.h [PATCH] MTRR suspend/resume cleanup 2005-07-07 18:23:42 -07:00
state.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00