diff options
author | Ingo Molnar <mingo@kernel.org> | 2012-04-13 03:50:21 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-04-13 03:50:21 -0400 |
commit | 659c36fcda403013a01b85da07cf2d9711e6d6c7 (patch) | |
tree | ece2e7d0e2c19ea5a3d0ec172ad0b81a8a19021d /drivers/tty/nozomi.c | |
parent | 9521d830b6341d1887dcfc2aebde23fbfa5f1473 (diff) | |
parent | 5a7ed29c7572d00a75e8c4529e30c5ac2ef82271 (diff) |
Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
Fixes and improvements for perf/core:
. Overhaul the tools/ makefiles, gluing them to the top level Makefile, from
Borislav Petkov.
. Move the UI files from tools/perf/util/ui/ to tools/perf/ui/. Also move
the GTK+ browser to tools/perf/ui/gtk/, from Namhyung Kim.
. Only fallback to sw cycles counter on ENOENT for the hw cycles, from
Robert Richter
. Trivial fixes from Robert Richter
. Handle the autogenerated bison/flex files better, from Namhyung and Jiri Olsa.
. Navigate jump instructions in the annotate browser, just press enter or ->,
still needs support for a jump navigation history, i.e. to go back.
. Search string in the annotate browser: same keys as vim:
/ forward
n next backward/forward
? backward
. Clarify number of events/samples in the report header, from Ashay Rane
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/tty/nozomi.c')
-rw-r--r-- | drivers/tty/nozomi.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/tty/nozomi.c b/drivers/tty/nozomi.c index fd347ff34d07..e7592f9037da 100644 --- a/drivers/tty/nozomi.c +++ b/drivers/tty/nozomi.c | |||
@@ -1602,13 +1602,9 @@ static int ntty_install(struct tty_driver *driver, struct tty_struct *tty) | |||
1602 | int ret; | 1602 | int ret; |
1603 | if (!port || !dc || dc->state != NOZOMI_STATE_READY) | 1603 | if (!port || !dc || dc->state != NOZOMI_STATE_READY) |
1604 | return -ENODEV; | 1604 | return -ENODEV; |
1605 | ret = tty_init_termios(tty); | 1605 | ret = tty_standard_install(driver, tty); |
1606 | if (ret == 0) { | 1606 | if (ret == 0) |
1607 | tty_driver_kref_get(driver); | ||
1608 | tty->count++; | ||
1609 | tty->driver_data = port; | 1607 | tty->driver_data = port; |
1610 | driver->ttys[tty->index] = tty; | ||
1611 | } | ||
1612 | return ret; | 1608 | return ret; |
1613 | } | 1609 | } |
1614 | 1610 | ||
@@ -1920,7 +1916,6 @@ static __init int nozomi_init(void) | |||
1920 | if (!ntty_driver) | 1916 | if (!ntty_driver) |
1921 | return -ENOMEM; | 1917 | return -ENOMEM; |
1922 | 1918 | ||
1923 | ntty_driver->owner = THIS_MODULE; | ||
1924 | ntty_driver->driver_name = NOZOMI_NAME_TTY; | 1919 | ntty_driver->driver_name = NOZOMI_NAME_TTY; |
1925 | ntty_driver->name = "noz"; | 1920 | ntty_driver->name = "noz"; |
1926 | ntty_driver->major = 0; | 1921 | ntty_driver->major = 0; |