inclusion of <endian.h> in a kernel header? ok or not?
Is it ok to #include <endian.h> in a kernel header file. This is done in linux/patchkey.h and linux/soundcard.h but other places seem to prefer <asm/byteorder.h>
Basically I am looking for a simple way to isolate a piece of endian specific code (something like #ifdef BIG_ENDIAN ...#endif