On 5 September 2015 at 11:29, Yousong Zhou <yszhou4t...@gmail.com> 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; > } > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/