diff options
author | Jiri Slaby <[email protected]> | 2012-08-07 21:47:40 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2012-08-10 13:29:57 -0700 |
commit | 536a3440a27f8687090bdf33468b003bc0f810cf (patch) | |
tree | 76f358685b2838f740df7e293101078177fa46e7 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | ee8b593affdf893012e57f4c54a21984d1b0d92e (diff) |
TTY: ttyprintk, initialize tty_port earlier
After tty_register_driver is called, it is too late to initialize a
guy with which we operate in open. When a process already called
open(2) on that node, the structures may be in use uninitialized.
Move the initialization prior to tty_register_driver.
Signed-off-by: Jiri Slaby <[email protected]>
Cc: Samo Pogacnik <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions