diff options
author | Josh Triplett <josht@us.ibm.com> | 2006-09-29 01:59:23 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-29 09:18:07 -0700 |
commit | b0de7fca10a3d7ddb99188b4752cc473c4e2c96e (patch) | |
tree | 65cfecd5fbd0fad2278b56271c05467e3b615db4 /fs/mbcache.c | |
parent | 538d9d532b0e0320c9dd326a560b5a72d73f910d (diff) | |
download | linux-stable-b0de7fca10a3d7ddb99188b4752cc473c4e2c96e.tar.gz linux-stable-b0de7fca10a3d7ddb99188b4752cc473c4e2c96e.tar.bz2 linux-stable-b0de7fca10a3d7ddb99188b4752cc473c4e2c96e.zip |
[PATCH] efi: add lock annotations for efi_call_phys_prelog and efi_call_phys_epilog
The functions efi_call_phys_prelog and efi_call_phys_epilog in
arch/i386/kernel/efi.c wrap the spinlock efi_rt_lock: efi_call_phys_prelog
returns with the lock held, and efi_call_phys_epilog 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 'fs/mbcache.c')
0 files changed, 0 insertions, 0 deletions