commit | 9b34db1ae63427269f918b2868b4cfcb50e6259b | [log] [tgz] |
---|---|---|
author | Randy MacLeod <[email protected]> | Mon Sep 29 21:18:04 2014 +0200 |
committer | Lucas De Marchi <[email protected]> | Mon Sep 29 17:13:26 2014 -0300 |
tree | aeb8bff2036564f8199f1efb686feb268ee65efb | |
parent | 419b7003af06329cf7336b298fba08f962631184 [diff] |
Add back-up implementation of be32toh() Older systems may not have the be32toh function defined. Check for this and fall back to checking the endianness and calling bswap_32 directly if needed. This works on both old and new systems. [Thomas De Schampheleire <[email protected]>: address comments raised by Lucas De Marchi [1], update commit message] [1] http://www.spinics.net/lists/linux-modules/msg01129.html