On 5 September 2015 at 11:29, Yousong Zhou <yszhou4tech@xxxxxxxxx> wrote: > #include <stdio.h> > #include <stdint.h> > #include <asm/byteorder.h> was missed out at the top. yousong > uint16_t __attribute__((noinline)) f(uint16_t v) > { > v = __cpu_to_le16(v); > return v; > } > > int main() > { > printf("%x\n", f(0xbeef)); > > return 0; > } >