diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-10-18 20:28:36 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-20 08:52:40 -0700 |
commit | acf0108a84edae22b99655eb2f6f6c9f7ec4d449 (patch) | |
tree | bfd93125ccff25c774c2e4d71a8ba537312950ab /arch/parisc/defpalo.conf | |
parent | b8e465f4945bc0e9f324e3bbe15f5180a8e9a6fe (diff) |
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 'arch/parisc/defpalo.conf')
0 files changed, 0 insertions, 0 deletions