public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] PPC64: 32bit wrapper for ioctls.
@ 2005-01-13 18:46 Mike Wolf
  2005-01-14  9:23 ` Arnd Bergmann
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Wolf @ 2005-01-13 18:46 UTC (permalink / raw)
  To: Paul Mackerras, Anton Blanchard; +Cc: linuxppc64-dev, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 214 bytes --]

Hi Paul,
  The patch adds some 32bit wrappers for 2 ioctls that Java needs.
Assuming this doesn't generate a round of discussion, please
forward upstream to akpm/torvalds.

Signed-off-by: Mike Wolf  mjw@us.ibm.com

[-- Attachment #2: ioctl32.patch --]
[-- Type: text/x-patch, Size: 482 bytes --]

--- linus-0112.orig/arch/ppc64/kernel/ioctl32.c	2005-01-13 10:35:10.165539000 -0600
+++ linus-0112/arch/ppc64/kernel/ioctl32.c	2005-01-13 10:51:43.450433277 -0600
@@ -43,6 +43,8 @@
 COMPATIBLE_IOCTL(TIOCSTART)
 COMPATIBLE_IOCTL(TIOCSTOP)
 COMPATIBLE_IOCTL(TIOCSLTC)
+COMPATIBLE_IOCTL(TIOCMIWAIT)
+COMPATIBLE_IOCTL(TIOCGICOUNT)
 /* Little p (/dev/rtc, /dev/envctrl, etc.) */
 COMPATIBLE_IOCTL(_IOR('p', 20, int[7])) /* RTCGET */
 COMPATIBLE_IOCTL(_IOW('p', 21, int[7])) /* RTCSET */

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

* Re: [PATCH] PPC64: 32bit wrapper for ioctls.
  2005-01-13 18:46 [PATCH] PPC64: 32bit wrapper for ioctls Mike Wolf
@ 2005-01-14  9:23 ` Arnd Bergmann
  0 siblings, 0 replies; 2+ messages in thread
From: Arnd Bergmann @ 2005-01-14  9:23 UTC (permalink / raw)
  To: linuxppc64-dev, mjw; +Cc: Paul Mackerras, Anton Blanchard, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 877 bytes --]

On Dunnersdag 13 Januar 2005 19:46, Mike Wolf wrote:
> Hi Paul,
>   The patch adds some 32bit wrappers for 2 ioctls that Java needs.
> Assuming this doesn't generate a round of discussion, please
> forward upstream to akpm/torvalds.

Why add them to arch/ppc64? These don't look architecture specific, so they
should go into include/linux/compat_ioctl.h. 

> --- linus-0112.orig/arch/ppc64/kernel/ioctl32.c 2005-01-13 10:35:10.165539000 -0600
> +++ linus-0112/arch/ppc64/kernel/ioctl32.c      2005-01-13 10:51:43.450433277 -0600
> @@ -43,6 +43,8 @@
>  COMPATIBLE_IOCTL(TIOCSTART)
>  COMPATIBLE_IOCTL(TIOCSTOP)
>  COMPATIBLE_IOCTL(TIOCSLTC)
> +COMPATIBLE_IOCTL(TIOCMIWAIT)

Note that TIOCMIWAIT is not COMPATIBLE_IOCTL, but ULONG_IOCTL. It doesn't make
a difference for ppc64, but if you add it to the generic file that is needed for
s390x.

	Arnd <><



[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2005-01-14  9:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-13 18:46 [PATCH] PPC64: 32bit wrapper for ioctls Mike Wolf
2005-01-14  9:23 ` Arnd Bergmann

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