diff options
author | Doug Anderson <dianders@chromium.org> | 2014-04-21 18:40:36 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-04-25 00:38:22 +0200 |
commit | f94b0572683716f727b25086f8d39671506593ab (patch) | |
tree | c1428aa4245d01149c008c70558b15a166c84d12 /Documentation/RCU | |
parent | serial: samsung: don't check config for every character (diff) | |
download | linux-f94b0572683716f727b25086f8d39671506593ab.tar.xz linux-f94b0572683716f727b25086f8d39671506593ab.zip |
serial: samsung: Change barrier() to cpu_relax() in console output
The two functions to write out to the console (one used in normal
console mode and one in polling console mode) were slightly different.
One used a barrier() in its loop and the other a cpu_relax(). The
barrier() really doesn't do anything since we're using rd_regl() to
read the port anyway. Switch it to cpu_relax() to make things
consistent.
No known bugs / issues are fixed by this change--it just makes things
more consistent.
Signed-off-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/RCU')
0 files changed, 0 insertions, 0 deletions