search for: con_open

Displaying 5 results from an estimated 5 matches for "con_open".

2005 Dec 18
1
Debian DomU with physdev access init kernel crash ....
...gt;] show_stack+0x7f/0xa0 [<c010a14f>] show_registers+0x15f/0x1e0 [<c010a384>] die+0xf4/0x180 [<c01155e4>] do_page_fault+0x4b4/0x761 [<c0109c37>] error_code+0x2b/0x30 [<c020543f>] vc_allocate+0x8f/0x150 [<c02083d8>] con_open+0x48/0xb0 [<c01f8b60>] tty_open+0x1b0/0x330 [<c016d3f3>] chrdev_open+0xb3/0x1a0 [<c016271b>] dentry_open+0x19b/0x210 [<c016257a>] filp_open+0x5a/0x60 [<c0162996>] sys_open+0x46/0x90 [<c0109a81>] syscall_call+0x7/0xb...
2005 Dec 18
1
Debian DomU with physdev access init kernel crash ....
...gt;] show_stack+0x7f/0xa0 [<c010a14f>] show_registers+0x15f/0x1e0 [<c010a384>] die+0xf4/0x180 [<c01155e4>] do_page_fault+0x4b4/0x761 [<c0109c37>] error_code+0x2b/0x30 [<c020543f>] vc_allocate+0x8f/0x150 [<c02083d8>] con_open+0x48/0xb0 [<c01f8b60>] tty_open+0x1b0/0x330 [<c016d3f3>] chrdev_open+0xb3/0x1a0 [<c016271b>] dentry_open+0x19b/0x210 [<c016257a>] filp_open+0x5a/0x60 [<c0162996>] sys_open+0x46/0x90 [<c0109a81>] syscall_call+0x7/0xb...
2011 Jan 20
1
[PATCH] change acquire/release_console_sem() to console_lock/unlock()
...ic void con_flush_chars(struct tty_struct *tty) return; /* if we race with con_close(), vt may be null */ - acquire_console_sem(); + console_lock(); vc = tty->driver_data; if (vc) set_cursor(vc); - release_console_sem(); + console_unlock(); } /* @@ -2805,7 +2805,7 @@ static int con_open(struct tty_struct *tty, struct file *filp) unsigned int currcons = tty->index; int ret = 0; - acquire_console_sem(); + console_lock(); if (tty->driver_data == NULL) { ret = vc_allocate(currcons); if (ret == 0) { @@ -2813,7 +2813,7 @@ static int con_open(struct tty_struct *tty, s...
2011 Jan 20
1
[PATCH] change acquire/release_console_sem() to console_lock/unlock()
...ic void con_flush_chars(struct tty_struct *tty) return; /* if we race with con_close(), vt may be null */ - acquire_console_sem(); + console_lock(); vc = tty->driver_data; if (vc) set_cursor(vc); - release_console_sem(); + console_unlock(); } /* @@ -2805,7 +2805,7 @@ static int con_open(struct tty_struct *tty, struct file *filp) unsigned int currcons = tty->index; int ret = 0; - acquire_console_sem(); + console_lock(); if (tty->driver_data == NULL) { ret = vc_allocate(currcons); if (ret == 0) { @@ -2813,7 +2813,7 @@ static int con_open(struct tty_struct *tty, s...
2011 Jan 20
1
[PATCH] change acquire/release_console_sem() to console_lock/unlock()
...ic void con_flush_chars(struct tty_struct *tty) return; /* if we race with con_close(), vt may be null */ - acquire_console_sem(); + console_lock(); vc = tty->driver_data; if (vc) set_cursor(vc); - release_console_sem(); + console_unlock(); } /* @@ -2805,7 +2805,7 @@ static int con_open(struct tty_struct *tty, struct file *filp) unsigned int currcons = tty->index; int ret = 0; - acquire_console_sem(); + console_lock(); if (tty->driver_data == NULL) { ret = vc_allocate(currcons); if (ret == 0) { @@ -2813,7 +2813,7 @@ static int con_open(struct tty_struct *tty, s...