From: Luis R. Rodriguez Date: Tue, 8 May 2012 07:26:43 +0000 (-0700) Subject: compat: add tty_lock() X-Git-Tag: compat-2012-07-02~1^2~14 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=cf49cd34b9740ecfac145103a0e474e8197ac0c4;p=~emulex%2Fcompat.git compat: add tty_lock() For the lock, I had only backported the tty_unlock.. Signed-off-by: Luis R. Rodriguez --- diff --git a/include/linux/compat-3.5.h b/include/linux/compat-3.5.h index 4cd0a0d..554d347 100644 --- a/include/linux/compat-3.5.h +++ b/include/linux/compat-3.5.h @@ -9,6 +9,7 @@ extern int simple_open(struct inode *inode, struct file *file); /* Backports tty_lock: Localise the lock */ +#define tty_lock(__tty) tty_lock() #define tty_unlock(__tty) tty_unlock() #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(3,5,0)) */