Messages in this thread | | | Date | Thu, 18 Nov 2004 20:48:36 -0800 | From | Andrew Morton <> | Subject | Re: Six archs are missing atomic_inc_return() |
| |
Chuck Ebbert <76306.1226@compuserve.com> wrote: > > Six archs do not have the atomic_inc_return() macro as of 2.6.10-rc2: > > cris > h8300 > m32r > ppc > ppc64 > s390
All of these architectures implement atomic_add_return(). So they all need
#define atomic_inc_return(v) atomic_add_return(1, v)
added to their atomic.h.
Wanna send a patch? - 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/
| |