]> git.karo-electronics.de Git - linux-beck.git/commitdiff
n_tty: Un-inline slow-path n_tty_receive_char()
authorPeter Hurley <peter@hurleysoftware.com>
Mon, 2 Dec 2013 19:24:42 +0000 (14:24 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Dec 2013 00:51:07 +0000 (16:51 -0800)
Commit e60d27c4d8b33ba20896b76b6558f061bc6460ff,
n_tty: Factor LNEXT processing from per-char i/o path,
mistakenly inlined the non-inline alias, n_tty_receive_char(),
for the inline function, n_tty_receive_char_inline().

As n_tty_receive_char() is intended for slow-path char
processing only, un-inline it.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_tty.c

index cf22bef62c98cb08b8e844a0b95b99ff189d3906..8c20a52557eab43522fe13178c3fd0e5a94eab13 100644 (file)
@@ -1417,7 +1417,7 @@ n_tty_receive_char_inline(struct tty_struct *tty, unsigned char c)
        put_tty_queue(c, ldata);
 }
 
-static inline void n_tty_receive_char(struct tty_struct *tty, unsigned char c)
+static void n_tty_receive_char(struct tty_struct *tty, unsigned char c)
 {
        n_tty_receive_char_inline(tty, c);
 }