aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/char/hvc_console.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/char/hvc_console.c b/drivers/char/hvc_console.c
index 5a8a4c28c867..f2685b747fb9 100644
--- a/drivers/char/hvc_console.c
+++ b/drivers/char/hvc_console.c
@@ -876,8 +876,11 @@ static int hvc_init(void)
876 goto stop_thread; 876 goto stop_thread;
877 } 877 }
878 878
879 /* FIXME: This mb() seems completely random. Remove it. */ 879 /*
880 mb(); 880 * Make sure tty is fully registered before allowing it to be
881 * found by hvc_console_device.
882 */
883 smp_mb();
881 hvc_driver = drv; 884 hvc_driver = drv;
882 return 0; 885 return 0;
883 886