compat: add struct compat_ifreq etc to compat.h
authorArnd Bergmann <arnd@arndb.de>
Fri, 6 Nov 2009 08:09:03 +0000 (08:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Nov 2009 04:43:57 +0000 (20:43 -0800)
commit2dceba14ef0e62738d58777a1bd4018130d47a74
tree61469cdabddc1bf4691cce720e01cf995724ef8e
parent10d626f4f444b419046309c10f25515adbffcb16
compat: add struct compat_ifreq etc to compat.h

In order to move socket ioctl conversion code into multiple
places in the socket code, we need a common defintion of
the data structures it uses.

Also change the name from ifreq32 to compat_ifreq to
follow the naming convention for compat.h

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/compat.h