projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74a8f31
)
compat: add tty_lock()
author
Luis R. Rodriguez
<mcgrof@frijolero.org>
Tue, 8 May 2012 07:26:43 +0000
(
00:26
-0700)
committer
Luis R. Rodriguez
<mcgrof@frijolero.org>
Tue, 8 May 2012 07:26:43 +0000
(
00:26
-0700)
For the lock, I had only backported the tty_unlock..
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
include/linux/compat-3.5.h
patch
|
blob
|
history
diff --git
a/include/linux/compat-3.5.h
b/include/linux/compat-3.5.h
index 4cd0a0d340d334e69c38a8cea936ed8a7a0425a0..554d347a972b55ef7cdf1a9f1a53b101b2999038 100644
(file)
--- 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)) */