diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-02-10 01:44:03 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 10:51:22 -0800 |
commit | f9795220521e0575dfd4ed0737d3a7848264662c (patch) | |
tree | 65b99973866f29c677d9fb43364441bbb38ec6d4 /arch/um | |
parent | 67608e0c809ceca1b44755ee818199af7478ca77 (diff) | |
download | op-kernel-dev-f9795220521e0575dfd4ed0737d3a7848264662c.zip op-kernel-dev-f9795220521e0575dfd4ed0737d3a7848264662c.tar.gz |
[PATCH] uml: Kill a compilation warning
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>
Diffstat (limited to 'arch/um')
-rw-r--r-- | arch/um/kernel/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/kernel/exec.c b/arch/um/kernel/exec.c index 8d56ec6..1211664 100644 --- 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) |