[PATCH] mips: clean up 32/64-bit configuration

Start cleaning 32-bit vs. 64-bit configuration.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Ralf Baechle
2005-09-03 15:56:16 -07:00
committed by Linus Torvalds
parent 63fb6fd1c8
commit 875d43e72b
110 changed files with 332 additions and 321 deletions

View File

@ -334,7 +334,7 @@ static __inline__ int atomic_sub_if_positive(int i, atomic_t * v)
*/
#define atomic_add_negative(i,v) (atomic_add_return(i, (v)) < 0)
#ifdef CONFIG_MIPS64
#ifdef CONFIG_64BIT
typedef struct { volatile __s64 counter; } atomic64_t;
@ -639,7 +639,7 @@ static __inline__ long atomic64_sub_if_positive(long i, atomic64_t * v)
*/
#define atomic64_add_negative(i,v) (atomic64_add_return(i, (v)) < 0)
#endif /* CONFIG_MIPS64 */
#endif /* CONFIG_64BIT */
/*
* atomic*_return operations are serializing but not the non-*_return