Re: Byteorder conditional compilation problems

2013-03-06 Thread Geert Uytterhoeven
On Wed, Mar 6, 2013 at 6:37 PM, Linus Torvalds wrote: > On Wed, Mar 6, 2013 at 8:43 AM, David Howells wrote: >> Scripting a change from "defined(__XXX_ENDIAN)" to >> "(__XXX_ENDIAN==__BYTEORDER)" >> should be easy to script. > > How about we just make the rule be that we shouldn't test __xyz_END

Re: Byteorder conditional compilation problems

2013-03-06 Thread Linus Torvalds
On Wed, Mar 6, 2013 at 8:43 AM, David Howells wrote: > > Scripting a change from "defined(__XXX_ENDIAN)" to > "(__XXX_ENDIAN==__BYTEORDER)" > should be easy to script. How about we just make the rule be that we shouldn't test __xyz_ENDIAN at all, and instead always use CONFIG_xyz_ENDIAN, which i