[PATCH 2/2] cputime: Use local_clock() for full dynticks cputime accounting

2013-02-23 Thread Frederic Weisbecker
Running the full dynticks cputime accounting with preemptible kernel debugging trigger the following warning: [4.488303] BUG: using smp_processor_id() in preemptible [] code: init/1 [4.490971] caller is native_sched_clock+0x22/0x80 [4.493663] Pid: 1,

[PATCH 2/2] cputime: Use local_clock() for full dynticks cputime accounting

2013-02-23 Thread Frederic Weisbecker
Running the full dynticks cputime accounting with preemptible kernel debugging trigger the following warning: [4.488303] BUG: using smp_processor_id() in preemptible [] code: init/1 [4.490971] caller is native_sched_clock+0x22/0x80 [4.493663] Pid: 1,