]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita9d07649554f4142994084dd21342d4ebe6fd9af
tree61469cdabddc1bf4691cce720e01cf995724ef8e
parent0899502ad909a0d7c69c418e5c4458a670354069
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