> --- linux-2.6.0-test11.orig/arch/ia64/lib/dec_and_lock.c 1970-01-01 > 01:00:00.000000000 +0100 > +++ linux-2.6.0-test11/arch/ia64/lib/dec_and_lock.c 2003-12-09 > 11:31:23.000000000 +0100 > @@ -0,0 +1,42 @@ > +/* > + * ia64 version of "atomic_dec_and_lock()" using > + * the atomic "cmpxchg" instruction. > + * This code is an adaptation of the x86 version > + * of "atomic_dec_and_lock()". > + */ You should probably add a copyright here and the license (i.e. GPLv2) > + > +#include <linux/spinlock.h> > +#include <asm/atomic.h> > + > +#ifndef ATOMIC_DEC_AND_LOCK Why this ifdef? - To unsubscribe from this list: send the line "unsubscribe linux-ia64" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Wed Dec 10 10:46:15 2003
This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:20 EST