Home
last modified time | relevance | path

Searched refs:endian_test (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/scripts/mod/
H A Dmk_elfconfig.c11 union { short s; char c[2]; } endian_test; in main() local
48 endian_test.s = 0x0102; in main()
49 if (memcmp(endian_test.c, "\x01\x02", 2) == 0) in main()
51 else if (memcmp(endian_test.c, "\x02\x01", 2) == 0) in main()
/openbmc/u-boot/tools/
H A Dpblimage.c40 } endian_test = { {'l', '?', '?', 'b'} }; variable
42 #define ENDIANNESS ((char)endian_test.l)
/openbmc/linux/arch/arm/kernel/
H A Dsetup.c155 static union { char c[4]; unsigned long l; } endian_test __initdata = { { 'l', '?', '?', 'b' } };
156 #define ENDIANNESS ((char)endian_test.l)