Re: gnu asm help...

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue Jun 19 2001 - 02:44:40 EST


> I need a simple (??) change to atomic_inc() functionality. so that i can
> increment and return the value of the variable.

Please don't blindly change atomic.h to do this. A large number of processors
don't have the x86 'xadd' functionality. Create/use seperate functions instead

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jun 23 2001 - 21:00:23 EST