Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 211288
b: refs/heads/master
c: 2b78920
h: refs/heads/master
v: v3
  • Loading branch information
Deng-Cheng Zhu authored and Ralf Baechle committed Oct 4, 2010
1 parent b1f9e39 commit 7019fd6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 543001f8d8a878c3babe4525cb16d83d25c16762
refs/heads/master: 2b78920d19870561a8b7503b8e869a6da5f07d3f
1 change: 1 addition & 0 deletions trunk/arch/mips/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ config MIPS
select HAVE_KPROBES
select HAVE_KRETPROBES
select RTC_LIB if !MACH_LOONGSON
select GENERIC_ATOMIC64 if !64BIT

mainmenu "Linux/MIPS Kernel Configuration"

Expand Down
4 changes: 4 additions & 0 deletions trunk/arch/mips/include/asm/atomic.h
Original file line number Diff line number Diff line change
Expand Up @@ -782,6 +782,10 @@ static __inline__ int atomic64_add_unless(atomic64_t *v, long a, long u)
*/
#define atomic64_add_negative(i, v) (atomic64_add_return(i, (v)) < 0)

#else /* !CONFIG_64BIT */

#include <asm-generic/atomic64.h>

#endif /* CONFIG_64BIT */

/*
Expand Down

0 comments on commit 7019fd6

Please sign in to comment.