Re: [PATCH] RFC: powerpc: expose the multi-bit ops that underlie single-bit ops.
From: Stephen Rothwell <hidden>
Date: 2009-06-17 01:07:23
Attachments
- (unnamed) [application/pgp-signature] 197 bytes
From: Stephen Rothwell <hidden>
Date: 2009-06-17 01:07:23
On Wed, 17 Jun 2009 07:33:46 +1000 Benjamin Herrenschmidt [off-list ref] wrote:
You can also go totally mad and generate the whole function (both -s and non -s variants) from one macro but I wouldn't go that far :-)
Please don't (unless you keep the function names intact), it makes finding the function with grep almost impossible ...
quoted
Also - any opinion on whether the same re-factoring of the asm-generic versions should be undertaken? I'm not looking to bite off more than I can chew, but I don't know if it's frowned upon to make powerpc-only extensions to the API. And if you think an asm-generic patch makes sense, could that be taken via linuxppc-dev too or does it need to go elsewhere?I'm not people care -that- much :-) You can always try and post it to lkml (maybe linux-arch too) and see what comes back... but let's finish the powerpc variant first :-)
Also, we have an asm-generic maintainer now ... -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/