[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <m2y6nzgcud.fsf@igel.home>
Date: Mon, 28 Sep 2009 20:10:02 +0200
From: Andreas Schwab <schwab@...ux-m68k.org>
To: linux-kernel@...r.kernel.org
CC: Greg Kroah-Hartman <gregkh@...e.de>
Subject: [PATCH] tty: fix vt_compat_ioctl
Call compat_unimap_ioctl, not do_unimap_ioctl.
Signed-off-by: Andreas Schwab <schwab@...ux-m68k.org>
---
drivers/char/vt_ioctl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/char/vt_ioctl.c b/drivers/char/vt_ioctl.c
index 29c651a..431c5c3 100644
--- a/drivers/char/vt_ioctl.c
+++ b/drivers/char/vt_ioctl.c
@@ -1530,7 +1530,7 @@ long vt_compat_ioctl(struct tty_struct *tty, struct file * file,
case PIO_UNIMAP:
case GIO_UNIMAP:
- ret = do_unimap_ioctl(cmd, up, perm, vc);
+ ret = compat_unimap_ioctl(cmd, up, perm, vc);
break;
/*
--
1.6.4.4
--
Andreas Schwab, schwab@...ux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists