summaryrefslogtreecommitdiffstats
path: root/kernel/kprobes.c
diff options
context:
space:
mode:
authorMasami Hiramatsu2008-04-28 11:14:27 +0200
committerLinus Torvalds2008-04-28 17:58:32 +0200
commit99602572812442d47403d85f376ad51298dd82a6 (patch)
tree204948267936e9a3f1c430d970c9a68f1583b55d /kernel/kprobes.c
parentkprobes: prevent probing of preempt_schedule() (diff)
downloadkernel-qcow2-linux-99602572812442d47403d85f376ad51298dd82a6.tar.gz
kernel-qcow2-linux-99602572812442d47403d85f376ad51298dd82a6.tar.xz
kernel-qcow2-linux-99602572812442d47403d85f376ad51298dd82a6.zip
list.h: add list_is_singular()
Add list_is_singular() to check a list has just one entry. list_is_singular() is useful to check whether a list_head which have been temporarily allocated for listing objects can be released or not. Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/kprobes.c')
0 files changed, 0 insertions, 0 deletions