diff options
author | Eliezer Tamir <eliezer.tamir@linux.intel.com> | 2013-06-28 16:59:26 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-07-02 01:06:47 +0400 |
commit | ad6276e0fe724b1c8ac3a0bf138d151665ab2349 (patch) | |
tree | 53cafc6ff855ac9d671aa6b9a77d9556054294dd /fs/nls/mac-inuit.c | |
parent | c9ab4d85de222f3390c67aedc9c18a50e767531e (diff) | |
download | linux-ad6276e0fe724b1c8ac3a0bf138d151665ab2349.tar.xz |
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 <devel-lists@codyps.com>
Signed-off-by: Eliezer Tamir <eliezer.tamir@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/nls/mac-inuit.c')
0 files changed, 0 insertions, 0 deletions