On Fri, May 25, 2012 at 8:56 PM, Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote: > > This is *totally* untested, but it compiles on x86. And I think it's > "close to the right thing". It actually works on x86 - I just booted it, and it all seems ok. The extra abstraction generates *one* extra instruction in fs/namei.c, but on the whole that all seems ok. But the asm-generic.h thing was in a half-arsed half-way-state between your version and my final interface, so it sure as hell wouldn't have worked on sparc or openrisc. This is the "fix up that header file to actually do what it is supposed to do" version. Sorry about that, Linus
Attachment:
patch.diff
Description: Binary data