From f980302461faad89a3fd1075e5c977c9f6f9d58e Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Tue, 6 Sep 2016 15:38:55 +0200 Subject: use DMA to read fw_cfg file names Signed-off-by: Paolo Bonzini --- include/bswap.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/bswap.h b/include/bswap.h index 2a72bd0..67b3c4f 100644 --- a/include/bswap.h +++ b/include/bswap.h @@ -1,6 +1,11 @@ #ifndef BSWAP_H #define BSWAP_H 1 +static inline uint16_t bswap16(uint16_t x) +{ + return __builtin_bswap16(x); +} + static inline uint32_t bswap32(uint32_t x) { return __builtin_bswap32(x); -- cgit v1.1