mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-24 07:31:41 +00:00
clocksource: Use a plain u64 instead of cycle_t
There is no point in having an extra type for extra confusion. u64 is unambiguous. Conversion was done with the following coccinelle script: @rem@ @@ -typedef u64 cycle_t; @fix@ typedef cycle_t; @@ -cycle_t +u64 Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: John Stultz <john.stultz@linaro.org>
This commit is contained in:
parent
7c0f6ba682
commit
a5a1d1c291
132 changed files with 320 additions and 327 deletions
|
@ -298,7 +298,7 @@ static void irqsoff_print_header(struct seq_file *s)
|
|||
/*
|
||||
* Should this new latency be reported/recorded?
|
||||
*/
|
||||
static bool report_latency(struct trace_array *tr, cycle_t delta)
|
||||
static bool report_latency(struct trace_array *tr, u64 delta)
|
||||
{
|
||||
if (tracing_thresh) {
|
||||
if (delta < tracing_thresh)
|
||||
|
@ -316,7 +316,7 @@ check_critical_timing(struct trace_array *tr,
|
|||
unsigned long parent_ip,
|
||||
int cpu)
|
||||
{
|
||||
cycle_t T0, T1, delta;
|
||||
u64 T0, T1, delta;
|
||||
unsigned long flags;
|
||||
int pc;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue