sycall asm inline

Benjamin Herrenschmidt benh at kernel.crashing.org
Wed Jun 19 13:39:23 EST 2002


>I had a patch that did exactly this, but I don't know where it is anymore
>(too many bk trees :-)) Anyway you don't want to see my inline version of
>atomic_clear_mask which selected the best instruction (among rlwinm,
>andi., andis., and andc) through a maze of macros and builtin_constant_p
>(I did this for fun since atomic_clear_mask is almost never used).

It's never used, but should probably be inlined anyway, I just found
a driver that used it and we don't export it to modules...

Ben.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list