Commit 3a667d2e authored by Arun Sharma's avatar Arun Sharma Committed by Linus Torvalds

[PATCH] add TCSBRKP to compat_ioctl.h

Move ioctl TCSBRKP support to compat layer. Same rationale as TCSBRK.

- Remove corresponding code under ppc64, sparc64 and s390.
- Use ULONG_IOCTL() instead of COMPATIBLE_IOCTL(), since the argument is int, 
  not pointer.
Signed-off-by: default avatarGordon Jin <gordon.jin@intel.com>
Signed-off-by: default avatarArun Sharma <arun.sharma@intel.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 410a5816
...@@ -39,7 +39,6 @@ IOCTL_TABLE_START ...@@ -39,7 +39,6 @@ IOCTL_TABLE_START
#include <linux/compat_ioctl.h> #include <linux/compat_ioctl.h>
#define DECLARES #define DECLARES
#include "compat_ioctl.c" #include "compat_ioctl.c"
COMPATIBLE_IOCTL(TCSBRKP)
COMPATIBLE_IOCTL(TIOCSTART) COMPATIBLE_IOCTL(TIOCSTART)
COMPATIBLE_IOCTL(TIOCSTOP) COMPATIBLE_IOCTL(TIOCSTOP)
COMPATIBLE_IOCTL(TIOCSLTC) COMPATIBLE_IOCTL(TIOCSLTC)
......
...@@ -65,9 +65,6 @@ COMPATIBLE_IOCTL(BIODASDSATTR) ...@@ -65,9 +65,6 @@ COMPATIBLE_IOCTL(BIODASDSATTR)
COMPATIBLE_IOCTL(TAPE390_DISPLAY) COMPATIBLE_IOCTL(TAPE390_DISPLAY)
#endif #endif
/* This one should be architecture independent */
COMPATIBLE_IOCTL(TCSBRKP)
/* s390 doesn't need handlers here */ /* s390 doesn't need handlers here */
COMPATIBLE_IOCTL(TIOCGSERIAL) COMPATIBLE_IOCTL(TIOCGSERIAL)
COMPATIBLE_IOCTL(TIOCSSERIAL) COMPATIBLE_IOCTL(TIOCSSERIAL)
......
...@@ -475,7 +475,6 @@ IOCTL_TABLE_START ...@@ -475,7 +475,6 @@ IOCTL_TABLE_START
#include <linux/compat_ioctl.h> #include <linux/compat_ioctl.h>
#define DECLARES #define DECLARES
#include "compat_ioctl.c" #include "compat_ioctl.c"
COMPATIBLE_IOCTL(TCSBRKP)
COMPATIBLE_IOCTL(TIOCSTART) COMPATIBLE_IOCTL(TIOCSTART)
COMPATIBLE_IOCTL(TIOCSTOP) COMPATIBLE_IOCTL(TIOCSTOP)
COMPATIBLE_IOCTL(TIOCSLTC) COMPATIBLE_IOCTL(TIOCSLTC)
......
...@@ -16,6 +16,7 @@ COMPATIBLE_IOCTL(TCSETA) ...@@ -16,6 +16,7 @@ COMPATIBLE_IOCTL(TCSETA)
COMPATIBLE_IOCTL(TCSETAW) COMPATIBLE_IOCTL(TCSETAW)
COMPATIBLE_IOCTL(TCSETAF) COMPATIBLE_IOCTL(TCSETAF)
COMPATIBLE_IOCTL(TCSBRK) COMPATIBLE_IOCTL(TCSBRK)
ULONG_IOCTL(TCSBRKP)
COMPATIBLE_IOCTL(TCXONC) COMPATIBLE_IOCTL(TCXONC)
COMPATIBLE_IOCTL(TCFLSH) COMPATIBLE_IOCTL(TCFLSH)
COMPATIBLE_IOCTL(TCGETS) COMPATIBLE_IOCTL(TCGETS)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment