]> git.proxmox.com Git - qemu.git/commit
fdt: Use bswapN instead of bswap_N
authorRichard Henderson <rth@twiddle.net>
Sat, 5 Jan 2013 00:39:26 +0000 (16:39 -0800)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 12 Jan 2013 12:22:58 +0000 (12:22 +0000)
commitfedb88bd32d331131d77a9b567d12e682fd102ac
treed198bbe0f4375dcd38d8f574490866bcf584a6c8
parentfedf2de31023b4ee71a4e578db013976243a8143
fdt: Use bswapN instead of bswap_N

Fixes the libfdt enabled build for hosts that have <machine/bswap.h>.

The code at the beginning of qemu/bswap.h is attempting to standardize
on bswapN.  In the case of CONFIG_MACHINE_BSWAP_H, this is all we get.
In the case of CONFIG_BYTESWAP_H, we get bswap_N from the system header
and then wrap these with inline functions to get bswapN.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
include/libfdt_env.h