aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-10-18 20:28:36 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-20 08:52:40 -0700
commitacf0108a84edae22b99655eb2f6f6c9f7ec4d449 (patch)
treebfd93125ccff25c774c2e4d71a8ba537312950ab /net/unix/af_unix.c
parentbyteorder: add new headers for make headers-install (diff)
downloadwireguard-linux-acf0108a84edae22b99655eb2f6f6c9f7ec4d449.tar.xz
wireguard-linux-acf0108a84edae22b99655eb2f6f6c9f7ec4d449.zip
byteorder: use generic C version for value byteswapping
This makes the new implementation of the byteorder helpers match the old in how it degraded when an arch-defined version was not available: 1) swab() - look for arch defined - if not, use generic c version 2) swabp() - look for arch-defined - if not, deref pointer and use swab() 3) swabs() - look for arch defined - if not, use swabp Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Cc: "David S. Miller" <davem@davemloft.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions