From: Arnd Bergmann <a...@arndb.de> Date: Fri, 15 Mar 2013 10:15:00 +0000
> David Howells brought up the topic of endian checks recently, noting > that the way we define __BIG_ENDIAN and __LITTLE_ENDIAN in the kernel > is incompatible to how do it in user space, and not much better either. > > A few architectures that are bi-endian (arc, arm, c6x, mips, sh) already > have CONFIG_CPU_IS_LITTLE_ENDIAN and CONFIG_CPU_IS_BIG_ENDIAN. I guess > it would be a good idea to provide these on all architectures. I do not want to see us add such a Kconfig dependency knob. Then the real tendency will exist to make new drivers little-endian only, refuse to fix endian-broken old drivers, etc. Which means that allmodconfig on my architecture will have build coverage on less code, which is really the only thing that matters for me. I want all drivers that could be effected by my changes to be compile testable on as many platforms as possible. -- 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/