Skip to content
Commit 9fef3d2d authored by Milton Miller's avatar Milton Miller Committed by Benjamin Herrenschmidt
Browse files

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: default avatarMilton Miller <miltonm@bga.com>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent a1c5a893
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