From: Jeff Dike Date: Sat, 10 Feb 2007 09:44:03 +0000 (-0800) Subject: [PATCH] uml: Kill a compilation warning X-Git-Tag: upstream/snapshot3+hdmi~35810^2~425 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f9795220521e0575dfd4ed0737d3a7848264662c;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [PATCH] uml: Kill a compilation warning Kill a compilation warning. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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)