From: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> Date: Fri, 25 May 2012 18:09:33 -0700 > On Fri, May 25, 2012 at 5:41 PM, David Miller <davem@xxxxxxxxxxxxx> wrote: >> Probably I should add little-endian code to the header and put it >> under asm-generic instead since there isn't really anything sparc >> specific about it and this will make it easier for other ports to use >> this stuff. > > Actually, I think it's better if we just do two separate ones: a > "generic little-endian" and a "generic big-endian" one. Rather than > mixing both into one file that is then included from some arch-file > that statically knows its endianness instead. Agreed, it will look a lot nicer that way. >> This is untested and of course we'd need to tweak the x86 >> word-at-a-time header and adjust the other call sites in >> the DCACHE and elsewhere. > > I can do that. Give me a few minutes. Or more. Let's see how it ends > up.. Ok. -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html