From: Jaswinder Singh Rajput Date: Wed, 18 Mar 2009 16:48:56 +0000 (+0530) Subject: tracing: fix oops in tracepoint_update_probe_range() X-Git-Tag: v2.6.30-rc1~2^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09933a108e6730a464a1ab676c9decc11aee0edc;p=pandora-kernel.git tracing: fix oops in tracepoint_update_probe_range() Change this crash: BUG: unable to handle kernel NULL pointer dereference at (null) IP: [] tracepoint_update_probe_range+0x1f/0x9b PGD 13d5fb067 PUD 13d688067 PMD 0 Oops: 0000 [#1] SMP To a more debuggable WARN_ONCE(). Signed-off-by: Jaswinder Singh Rajput Cc: Frederic Weisbecker Cc: Steven Rostedt LKML-Reference: <1237394936.3132.1.camel@localhost.localdomain> [ moved the check outside the lock and added a WARN_ON(). ] Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed