From: Milton Miller Date: Thu, 8 Jan 2009 02:14:18 +0000 (+0000) Subject: hvc_console: Change an mb() to smp_mb() and add some comments X-Git-Tag: v2.6.29-rc2~76^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fef3d2d15ae8ca24e4a145f2e189eea145d18c2;p=pandora-kernel.git hvc_console: Change an mb() to smp_mb() and add some comments I remember some history on this barrier. There was a race between open via /dev/console and the tty being fully setup. Its also why there is a temporary variable and the global is assigned at the end of the function. Signed-off-by: Milton Miller Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed