]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/rocket.c
[PATCH] Char: mxser_new, correct include file
[linux-2.6-omap-h63xx.git] / drivers / char / rocket.c
index bac80056f7e0c7e45893c7f7a46f9b2c196222af..4fdf52e9f3b12591d1445b5455cb81f7c7b6e36e 100644 (file)
@@ -1017,7 +1017,7 @@ static int rp_open(struct tty_struct *tty, struct file *filp)
        /*
         * Info->count is now 1; so it's safe to sleep now.
         */
-       info->session = current->signal->session;
+       info->session = process_session(current);
        info->pgrp = process_group(current);
 
        if ((info->flags & ROCKET_INITIALIZED) == 0) {