Messages in this thread Patch in this message | | | Date | Thu, 17 Mar 2005 15:56:17 +0100 | From | Martin Schwidefsky <> | Subject | [patch 2/8] s390: define atomic_sub_return. |
| |
[patch 2/8] s390: define atomic_sub_return.
From: Martin Schwidefsky <schwidefsky@de.ibm.com>
Add missing atomic_sub_return for skb_release_data.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
diffstat: include/asm-s390/atomic.h | 4 ++++ 1 files changed, 4 insertions(+)
diff -urN linux-2.6/include/asm-s390/atomic.h linux-2.6-patched/include/asm-s390/atomic.h --- linux-2.6/include/asm-s390/atomic.h 2005-03-02 08:37:48.000000000 +0100 +++ linux-2.6-patched/include/asm-s390/atomic.h 2005-03-17 15:35:58.000000000 +0100 @@ -61,6 +61,10 @@ { __CS_LOOP(v, i, "sr"); } +static __inline__ int atomic_sub_return(int i, atomic_t * v) +{ + return __CS_LOOP(v, i, "sr"); +} static __inline__ void atomic_inc(volatile atomic_t * v) { __CS_LOOP(v, 1, "ar"); - 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/
| |