kprobes: Add sparse context annotations
commit635c17c2b2b4e5cd34f5dcba19d751b4e58533c2
authorNamhyung Kim <namhyung@gmail.com>
Wed, 15 Sep 2010 01:04:30 +0000 (15 10:04 +0900)
committerIngo Molnar <mingo@elte.hu>
Wed, 15 Sep 2010 08:44:02 +0000 (15 10:44 +0200)
tree8d24215b1eb84157679c212e40541fcdb9fe9d8c
parent6abded71d730322df96c5b7f4ab952ffd5a0080d
kprobes: Add sparse context annotations

This removes following warnings when build with C=1

 warning: context imbalance in 'kretprobe_hash_lock' - wrong count at exit
 warning: context imbalance in 'kretprobe_table_lock' - wrong count at exit
 warning: context imbalance in 'kretprobe_hash_unlock' - unexpected unlock
 warning: context imbalance in 'kretprobe_table_unlock' - unexpected unlock

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
LKML-Reference: <1284512670-2369-6-git-send-email-namhyung@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/kprobes.c