From: Eliezer Tamir Date: Fri, 28 Jun 2013 12:59:26 +0000 (+0300) Subject: net: fix LLS debug_smp_processor_id() warning X-Git-Tag: v3.11-rc1~64^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad6276e0fe724b1c8ac3a0bf138d151665ab2349;p=pandora-kernel.git net: fix LLS debug_smp_processor_id() warning Our use of sched_clock is OK because we don't mind the side effects of calling it and occasionally waking up on a different CPU. When CONFIG_DEBUG_PREEMPT is on, disable preempt before calling sched_clock() so we don't trigger a debug_smp_processor_id() warning. Reported-by: Cody P Schafer Signed-off-by: Eliezer Tamir Signed-off-by: David S. Miller --- Reading git-diff-tree failed