From: Paul E. McKenney Date: Thu, 28 Feb 2008 00:21:10 +0000 (-0800) Subject: rcupreempt: fix hibernate/resume in presence of PREEMPT_RCU and hotplug X-Git-Tag: v2.6.25-rc4~130 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae778869ae4549628b9e83efe958c3aaa63ed1b9;p=pandora-kernel.git rcupreempt: fix hibernate/resume in presence of PREEMPT_RCU and hotplug This fixes a oops encountered when doing hibernate/resume in presence of PREEMPT_RCU. The problem was that the code failed to disable preemption when accessing a per-CPU variable. This is OK when called from code that already has preemption disabled, but such is not the case from the suspend/resume code path. Reported-by: Dave Young Tested-by: Dave Young Signed-off-by: Paul E. McKenney Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed