From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755398AbZBJPZn (ORCPT ); Tue, 10 Feb 2009 10:25:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752017AbZBJPZb (ORCPT ); Tue, 10 Feb 2009 10:25:31 -0500 Received: from mx2.redhat.com ([66.187.237.31]:55010 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754659AbZBJPZa (ORCPT ); Tue, 10 Feb 2009 10:25:30 -0500 From: Bill Nottingham To: linux-kernel@vger.kernel.org, trivial@kernel.org Cc: Bill Nottingham Subject: [PATCH] Declare PIO_CMAP/GIO_CMAP as compatbile ioctls. Date: Tue, 10 Feb 2009 10:25:25 -0500 Message-Id: <1234279525-25143-1-git-send-email-notting@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Otherwise, these don't work when called from 32-bit userspace on 64-bit kernels. --- fs/compat_ioctl.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index 5235c67..9ee71a0 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c @@ -1937,6 +1937,8 @@ ULONG_IOCTL(SET_BITMAP_FILE) /* Big K */ COMPATIBLE_IOCTL(PIO_FONT) COMPATIBLE_IOCTL(GIO_FONT) +COMPATIBLE_IOCTL(PIO_CMAP) +COMPATIBLE_IOCTL(GIO_CMAP) ULONG_IOCTL(KDSIGACCEPT) COMPATIBLE_IOCTL(KDGETKEYCODE) COMPATIBLE_IOCTL(KDSETKEYCODE) -- 1.6.1.2