diff options
author | Doug Anderson <dianders@chromium.org> | 2014-04-21 09:40:36 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-04-24 15:38:22 -0700 |
commit | f94b0572683716f727b25086f8d39671506593ab (patch) | |
tree | c1428aa4245d01149c008c70558b15a166c84d12 /drivers/tty/serial/serial_core.c | |
parent | ab88c8dc3bd667bcf21c8319165db92b930cf7e7 (diff) | |
download | op-kernel-dev-f94b0572683716f727b25086f8d39671506593ab.zip op-kernel-dev-f94b0572683716f727b25086f8d39671506593ab.tar.gz |
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 'drivers/tty/serial/serial_core.c')
0 files changed, 0 insertions, 0 deletions