浏览代码

[PATCH] uninline tty_paranoia_check()

Has lots of callsites.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Andrew Morton 20 年之前
父节点
当前提交
d769a66970
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/char/tty_io.c

+ 1 - 1
drivers/char/tty_io.c

@@ -185,7 +185,7 @@ char *tty_name(struct tty_struct *tty, char *buf)
 
 
 EXPORT_SYMBOL(tty_name);
 EXPORT_SYMBOL(tty_name);
 
 
-inline int tty_paranoia_check(struct tty_struct *tty, struct inode *inode,
+int tty_paranoia_check(struct tty_struct *tty, struct inode *inode,
 			      const char *routine)
 			      const char *routine)
 {
 {
 #ifdef TTY_PARANOIA_CHECK
 #ifdef TTY_PARANOIA_CHECK