Messages in this thread | | | Subject | Re: gnu asm help... | Date | Tue, 19 Jun 2001 08:44:40 +0100 (BST) | From | Alan Cox <> |
| |
> 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/
| |