diff options
author | Jiri Slaby <[email protected]> | 2012-08-08 22:26:44 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2012-08-13 16:45:39 -0700 |
commit | 7e73eca6a7b2967423902a4543821bb97cbbe698 (patch) | |
tree | 8c733036a77be59040ed7e346676445a83043b10 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 0019b4089ccef8148d8be83cc8adfc81a75b47d4 (diff) |
TTY: move cdev_add to tty_register_device
We need the /dev/ node not to be available before we call
tty_register_device. Otherwise we might race with open and
tty_struct->port might not be available at that time.
This is not an issue now, but would be a problem after "TTY: use
tty_port_register_device" is applied.
Signed-off-by: Jiri Slaby <[email protected]>
Acked-by: Alan Cox <[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