jump label: Add a WARN() if jump label key count goes negative
authorJason Baron <jbaron@redhat.com>
Tue, 21 Feb 2012 20:02:53 +0000 (15:02 -0500)
committerIngo Molnar <mingo@elte.hu>
Wed, 22 Feb 2012 06:59:39 +0000 (07:59 +0100)
commitfadf0464b83f91ba021a358c0238a0810c0d2a0b
tree9c02e2959d590b3db212c10452fa45c26324485d
parent09bda4432a8a4d4db2b2b94697abc8d732a9ff73
jump label: Add a WARN() if jump label key count goes negative

The count on a jump label key should never go negative. Add a
WARN() to check for this condition.

Signed-off-by: Jason Baron <jbaron@redhat.com>
Cc: Gleb Natapov <gleb@redhat.com>
Cc: rostedt@goodmis.org
Cc: mathieu.desnoyers@efficios.com
Cc: davem@davemloft.net
Cc: ddaney.cavm@gmail.com
Cc: a.p.zijlstra@chello.nl
Link: http://lkml.kernel.org/r/3c68556121be4d1920417a3fe367da1ec38246b4.1329851692.git.jbaron@redhat.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/jump_label.c