Commit 159707e0 authored by Thomas Gleixner's avatar Thomas Gleixner

Merge branch 'rt/hwlat' into rt/base

parents 854b9bf8 5fc485f6
......@@ -262,8 +262,6 @@ static int get_sample(void *unused)
/* Keep a running maximum ever recorded hardware latency */
if (sample > data.max_sample)
data.max_sample = sample;
wake_up(&data.wq); /* wake up reader(s) */
}
ret = 0;
......@@ -301,6 +299,8 @@ static int kthread_fn(void *unused)
goto err_out;
}
wake_up(&data.wq); /* wake up reader(s) */
interval = data.sample_window - data.sample_width;
do_div(interval, USEC_PER_MSEC); /* modifies interval value */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment