You should use little-endian mode il the CPU you compile for is l-e,
and b-e if the CPU is b-e.
Otherwise make a ramdom choice and use [b|l]e[16|32|64]_to_cpu() macros
to convert numbers on-the-fly at runtime, but the code gets longer and
slower.
Bye.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/