lkml.org 
[lkml]   [2004]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH x86_64]: Add TCSBRKP ioctl translation for arch/x86_64/ia32
Date
From
Hi,

The following patch adds TCSBRKP ioctl translation for arch/x86_64/ia32.
TCSBRKP is needed for POSIX tcsendbreak().
Some archs (such as sparc64) have added TCSBRKP in their compat codes,
Here is for x86_64.

Signed-off-by: Gordon Jin <gordon.jin@intel.com>

--- linux-2.6.8/arch/x86_64/ia32/ia32_ioctl.c.orig 2004-09-23 09:21:20.000000000 -0700
+++ linux-2.6.8/arch/x86_64/ia32/ia32_ioctl.c 2004-09-23 09:22:31.000000000 -0700
@@ -189,6 +189,7 @@ COMPATIBLE_IOCTL(RTC_SET_TIME)
COMPATIBLE_IOCTL(RTC_WKALM_SET)
COMPATIBLE_IOCTL(RTC_WKALM_RD)
COMPATIBLE_IOCTL(FIOQSIZE)
+COMPATIBLE_IOCTL(TCSBRKP)

/* And these ioctls need translation */
HANDLE_IOCTL(TIOCGDEV, tiocgdev)
Thanks,
Gordon
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:06    [W:2.862 / U:0.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site