arch/tile: fix some comments and whitespace
This is a grab bag of changes with no actual change to generated code. This includes whitespace and comment typos, plus a couple of stale comments being removed. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
This commit is contained in:
@@ -52,7 +52,7 @@ int atomic_locks[PAGE_SIZE / sizeof(int)] __page_aligned_bss;
|
||||
|
||||
static inline int *__atomic_hashed_lock(volatile void *v)
|
||||
{
|
||||
/* NOTE: this code must match "sys_cmpxchg" in kernel/intvec.S */
|
||||
/* NOTE: this code must match "sys_cmpxchg" in kernel/intvec_32.S */
|
||||
#if ATOMIC_LOCKS_FOUND_VIA_TABLE()
|
||||
unsigned long i =
|
||||
(unsigned long) v & ((PAGE_SIZE-1) & -sizeof(long long));
|
||||
|
@@ -14,7 +14,7 @@
|
||||
* Support routines for atomic operations. Each function takes:
|
||||
*
|
||||
* r0: address to manipulate
|
||||
* r1: pointer to atomic lock guarding this operation (for FUTEX_LOCK_REG)
|
||||
* r1: pointer to atomic lock guarding this operation (for ATOMIC_LOCK_REG)
|
||||
* r2: new value to write, or for cmpxchg/add_unless, value to compare against
|
||||
* r3: (cmpxchg/xchg_add_unless) new value to write or add;
|
||||
* (atomic64 ops) high word of value to write
|
||||
|
Reference in New Issue
Block a user