Hi, Here is a repost of those patches after running them through checkpatch. I added a compile check to each architecture implementing cmpxchg64_local that verifies if the argument size is 8 bytes. Sorry about the coding style state in which those patches were : I tried to follow the coding style of the existing header code, which is, to be polite, disappointing. I left the "volatile" in the function headers, since I do not want to take any decision in that aspect without being fully aware of the consequences. If we remove them in those functions, we should clean up the surrounding, already existing, functions as well. The only checkpatch errors left are related to inline assembly code, which does not seem to follow the same rules. Mathieu -- Mathieu Desnoyers Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- [patch 19/28] Add cmpxchg_local to m68knommu
- From: Mathieu Desnoyers <[email protected]>
- [patch 14/28] New cmpxchg_local (optimized for UP case) for m32r
- From: Mathieu Desnoyers <[email protected]>
- [patch 17/28] local_t m32r use architecture specific cmpxchg_local
- From: Mathieu Desnoyers <[email protected]>
- [patch 08/28] Add cmpxchg_local to avr32
- From: Mathieu Desnoyers <[email protected]>
- [patch 10/28] Add cmpxchg_local to cris
- From: Mathieu Desnoyers <[email protected]>
- [patch 22/28] Add cmpxchg_local to s390
- From: Mathieu Desnoyers <[email protected]>
- [patch 15/28] Fix m32r __xchg
- From: Mathieu Desnoyers <[email protected]>
- [patch 02/28] Fall back on interrupt disable in cmpxchg8b on 80386 and 80486
- From: Mathieu Desnoyers <[email protected]>
- [patch 07/28] Add cmpxchg_local to arm
- From: Mathieu Desnoyers <[email protected]>
- [patch 21/28] Add cmpxchg_local to ppc
- From: Mathieu Desnoyers <[email protected]>
- [patch 18/28] Add cmpxchg_local to m86k
- From: Mathieu Desnoyers <[email protected]>
- [patch 24/28] Add cmpxchg_local to sh64
- From: Mathieu Desnoyers <[email protected]>
- [patch 25/28] Add cmpxchg_local to sparc, move __cmpxchg to system.h
- From: Mathieu Desnoyers <[email protected]>
- [patch 28/28] Add cmpxchg_local to xtensa
- From: Mathieu Desnoyers <[email protected]>
- [patch 26/28] Add cmpxchg_local to sparc64
- From: Mathieu Desnoyers <[email protected]>
- [patch 23/28] Add cmpxchg_local to sh, use generic cmpxchg() instead of cmpxchg_u32
- From: Mathieu Desnoyers <[email protected]>
- [patch 16/28] m32r: build fix of arch/m32r/kernel/smpboot.c
- From: Mathieu Desnoyers <[email protected]>
- [patch 20/28] Add cmpxchg_local to parisc
- From: Mathieu Desnoyers <[email protected]>
- [patch 13/28] Add cmpxchg_local, cmpxchg64 and cmpxchg64_local to ia64
- From: Mathieu Desnoyers <[email protected]>
- [patch 27/28] Add cmpxchg_local to v850
- From: Mathieu Desnoyers <[email protected]>
- [patch 06/28] Add cmpxchg64 and cmpxchg64_local to x86_64
- From: Mathieu Desnoyers <[email protected]>
- [patch 12/28] Add cmpxchg_local to h8300
- From: Mathieu Desnoyers <[email protected]>
- [patch 05/28] Add cmpxchg64 and cmpxchg64_local to powerpc
- From: Mathieu Desnoyers <[email protected]>
- [patch 04/28] Add cmpxchg64 and cmpxchg64_local to mips
- From: Mathieu Desnoyers <[email protected]>
- [patch 11/28] Add cmpxchg_local to frv
- From: Mathieu Desnoyers <[email protected]>
- [patch 01/28] Add cmpxchg_local to asm-generic for per cpu atomic operations
- From: Mathieu Desnoyers <[email protected]>
- [patch 09/28] Add cmpxchg_local to blackfin, replace __cmpxchg by generic cmpxchg
- From: Mathieu Desnoyers <[email protected]>
- [patch 03/28] Add cmpxchg64 and cmpxchg64_local to alpha
- From: Mathieu Desnoyers <[email protected]>
- [patch 19/28] Add cmpxchg_local to m68knommu
- Prev by Date: [ANNOUNCE] GIT 1.5.3.5
- Next by Date: [patch 03/28] Add cmpxchg64 and cmpxchg64_local to alpha
- Previous by thread: [ANNOUNCE] GIT 1.5.3.5
- Next by thread: [patch 03/28] Add cmpxchg64 and cmpxchg64_local to alpha
- Index(es):