Loading arch/parisc/Kconfig +1 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ config PARISC select INIT_ALL_POSSIBLE select BUG select HAVE_PERF_COUNTERS select GENERIC_ATOMIC64 if !64BIT help The PA-RISC microprocessor is designed by Hewlett-Packard and used in many of their workstations & servers (HP9000 700 and 800 series, Loading arch/parisc/include/asm/atomic.h +5 −1 Original line number Diff line number Diff line Loading @@ -336,7 +336,11 @@ static __inline__ int atomic64_add_unless(atomic64_t *v, long a, long u) #define atomic64_inc_not_zero(v) atomic64_add_unless((v), 1, 0) #endif /* CONFIG_64BIT */ #else /* CONFIG_64BIT */ #include <asm-generic/atomic64.h> #endif /* !CONFIG_64BIT */ #include <asm-generic/atomic-long.h> Loading Loading
arch/parisc/Kconfig +1 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ config PARISC select INIT_ALL_POSSIBLE select BUG select HAVE_PERF_COUNTERS select GENERIC_ATOMIC64 if !64BIT help The PA-RISC microprocessor is designed by Hewlett-Packard and used in many of their workstations & servers (HP9000 700 and 800 series, Loading
arch/parisc/include/asm/atomic.h +5 −1 Original line number Diff line number Diff line Loading @@ -336,7 +336,11 @@ static __inline__ int atomic64_add_unless(atomic64_t *v, long a, long u) #define atomic64_inc_not_zero(v) atomic64_add_unless((v), 1, 0) #endif /* CONFIG_64BIT */ #else /* CONFIG_64BIT */ #include <asm-generic/atomic64.h> #endif /* !CONFIG_64BIT */ #include <asm-generic/atomic-long.h> Loading