All pastes #583382 Raw Edit

include/linux/byteorder/swab.h

public c v1 · immutable
·published 2007-06-22 10:31 UTC
rendered paste body
/* * provide defaults when no architecture-specific optimization is detected */#ifndef __arch__swab16#  define __arch__swab16(x) ({ __u16 __tmp = (x) ; ___swab16(__tmp); })#endif#ifndef __arch__swab32#  define __arch__swab32(x) ({ __u32 __tmp = (x) ; ___swab32(__tmp); })#endif#ifndef __arch__swab64#  define __arch__swab64(x) ({ __u64 __tmp = (x) ; ___swab64(__tmp); })#endif