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:
67608e0
)
[PATCH] uml: Kill a compilation warning
author
Jeff Dike
<jdike@addtoit.com>
Sat, 10 Feb 2007 09:44:03 +0000
(
01:44
-0800)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Sun, 11 Feb 2007 18:51:22 +0000
(10:51 -0800)
Kill a compilation warning.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/kernel/exec.c
patch
|
blob
|
history
diff --git
a/arch/um/kernel/exec.c
b/arch/um/kernel/exec.c
index 8d56ec6cca79606e8ee8d075e455e1f2b8d532d6..121166400e25a01917df9452560e2fc12bfba882 100644
(file)
--- a/
arch/um/kernel/exec.c
+++ b/
arch/um/kernel/exec.c
@@
-39,9
+39,9
@@
static long execve1(char *file, char __user * __user *argv,
char __user *__user *env)
{
long error;
+#ifdef CONFIG_TTY_LOG
struct tty_struct *tty;
-#ifdef CONFIG_TTY_LOG
mutex_lock(&tty_mutex);
tty = get_current_tty();
if (tty)