public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH x86_64]: Add TCSBRKP ioctl translation for arch/x86_64/ia32
@ 2004-10-09  9:47 Jin, Gordon
  2004-10-09 12:31 ` Arnd Bergmann
  0 siblings, 1 reply; 2+ messages in thread
From: Jin, Gordon @ 2004-10-09  9:47 UTC (permalink / raw)
  To: discuss, linux-kernel

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 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-09 12:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-09  9:47 [PATCH x86_64]: Add TCSBRKP ioctl translation for arch/x86_64/ia32 Jin, Gordon
2004-10-09 12:31 ` Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox