From: Doug Anderson Date: Mon, 21 Apr 2014 16:40:36 +0000 (-0700) Subject: serial: samsung: Change barrier() to cpu_relax() in console output X-Git-Tag: omap-for-v3.16/pm-signed~45^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f94b0572683716f727b25086f8d39671506593ab;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed