diff options
author | Milton Miller <[email protected]> | 2009-01-08 02:14:18 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <[email protected]> | 2009-01-13 14:48:01 +1100 |
commit | 9fef3d2d15ae8ca24e4a145f2e189eea145d18c2 (patch) | |
tree | deb3764686dcbeb5ab013ecf6183d55c514f216f /lib/string_helpers.c | |
parent | a1c5a8932bbb75b550deb156d890027827fc9d6e (diff) |
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 <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions