|
@@ -209,7 +209,7 @@ static inline unsigned long long cycles_2_ns(unsigned long long cyc)
|
|
* dance when its actually needed.
|
|
* dance when its actually needed.
|
|
*/
|
|
*/
|
|
|
|
|
|
- preempt_disable();
|
|
|
|
|
|
+ preempt_disable_notrace();
|
|
data = this_cpu_read(cyc2ns.head);
|
|
data = this_cpu_read(cyc2ns.head);
|
|
tail = this_cpu_read(cyc2ns.tail);
|
|
tail = this_cpu_read(cyc2ns.tail);
|
|
|
|
|
|
@@ -229,7 +229,7 @@ static inline unsigned long long cycles_2_ns(unsigned long long cyc)
|
|
if (!--data->__count)
|
|
if (!--data->__count)
|
|
this_cpu_write(cyc2ns.tail, data);
|
|
this_cpu_write(cyc2ns.tail, data);
|
|
}
|
|
}
|
|
- preempt_enable();
|
|
|
|
|
|
+ preempt_enable_notrace();
|
|
|
|
|
|
return ns;
|
|
return ns;
|
|
}
|
|
}
|