atomic.h (692c14a5931341a37e4fbfca5fa96751187a108f) | atomic.h (64daa4435a40aa1b7d0ece598ae783b89dda13ee) |
---|---|
1/* Copyright (C) 2000 Philipp Rumpf <prumpf@tux.org> 2 * Copyright (C) 2006 Kyle McMartin <kyle@parisc-linux.org> 3 */ 4 5#ifndef _ASM_PARISC_ATOMIC_H_ 6#define _ASM_PARISC_ATOMIC_H_ 7 8#include <linux/types.h> --- 322 unchanged lines hidden (view full) --- 331 break; 332 c = old; 333 } 334 return c != (u); 335} 336 337#define atomic64_inc_not_zero(v) atomic64_add_unless((v), 1, 0) 338 | 1/* Copyright (C) 2000 Philipp Rumpf <prumpf@tux.org> 2 * Copyright (C) 2006 Kyle McMartin <kyle@parisc-linux.org> 3 */ 4 5#ifndef _ASM_PARISC_ATOMIC_H_ 6#define _ASM_PARISC_ATOMIC_H_ 7 8#include <linux/types.h> --- 322 unchanged lines hidden (view full) --- 331 break; 332 c = old; 333 } 334 return c != (u); 335} 336 337#define atomic64_inc_not_zero(v) atomic64_add_unless((v), 1, 0) 338 |
339#endif /* CONFIG_64BIT */ | 339#else /* CONFIG_64BIT */ |
340 | 340 |
341#include <asm-generic/atomic64.h> 342 343#endif /* !CONFIG_64BIT */ 344 |
|
341#include <asm-generic/atomic-long.h> 342 343#endif /* _ASM_PARISC_ATOMIC_H_ */ | 345#include <asm-generic/atomic-long.h> 346 347#endif /* _ASM_PARISC_ATOMIC_H_ */ |