From: Frederic Weisbecker Date: Tue, 4 May 2010 02:47:25 +0000 (+0200) Subject: lockdep: Provide off case for redundant_hardirqs_on increment X-Git-Tag: v2.6.35-rc1~525^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba697f40dbb704956a4cf67a7845b538015a01ea;p=pandora-kernel.git lockdep: Provide off case for redundant_hardirqs_on increment We forgot to provide a !CONFIG_DEBUG_LOCKDEP case for the redundant_hardirqs_on stat handling. Manage that in the headers with a new __debug_atomic_inc() helper. Fixes: kernel/lockdep.c:2306: error: 'lockdep_stats' undeclared (first use in this function) kernel/lockdep.c:2306: error: (Each undeclared identifier is reported only once kernel/lockdep.c:2306: error: for each function it appears in.) Reported-by: Ingo Molnar Signed-off-by: Frederic Weisbecker Cc: Peter Zijlstra --- Reading git-diff-tree failed