]> git.ozlabs.org Git - yaboot.git/commit
Fix the swab* macros.
authorTony Breeds <tony@bakeyournoodle.com>
Tue, 12 Jun 2012 04:57:26 +0000 (14:57 +1000)
committerTony Breeds <tony@bakeyournoodle.com>
Mon, 13 May 2013 05:03:24 +0000 (15:03 +1000)
commit0298b541149eca4c30749085694526a0040d0982
treebb530c960911565ecdc4c25584f88168c595e381
parent677037569e92173195efa04244cd4291721d8f20
Fix the swab* macros.

The macros a fundamentally broken as they reuse the argument several
times.  Replace them with static inline funcations that /should/ be
correct.

Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
include/swab.h