Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 120060
b: refs/heads/master
c: 16b529d
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mundt committed Dec 22, 2008
1 parent 809530a commit 16e56ab
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 96 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 709420dd4e75083ee7920e61c2d0bcc3db9b7405
refs/heads/master: 16b529d1d78060254d5bc735390915ca5ccf13a1
3 changes: 3 additions & 0 deletions trunk/arch/sh/include/asm/bitops-grb.h
Original file line number Diff line number Diff line change
Expand Up @@ -166,4 +166,7 @@ static inline int test_and_change_bit(int nr, volatile void * addr)

return retval;
}

#include <asm-generic/bitops/non-atomic.h>

#endif /* __ASM_SH_BITOPS_GRB_H */
91 changes: 0 additions & 91 deletions trunk/arch/sh/include/asm/bitops-irq.h

This file was deleted.

2 changes: 2 additions & 0 deletions trunk/arch/sh/include/asm/bitops-llsc.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,6 @@ static inline int test_and_change_bit(int nr, volatile void * addr)
return retval != 0;
}

#include <asm-generic/bitops/non-atomic.h>

#endif /* __ASM_SH_BITOPS_LLSC_H */
6 changes: 2 additions & 4 deletions trunk/arch/sh/include/asm/bitops.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,16 @@
#elif defined(CONFIG_CPU_SH4A)
#include <asm/bitops-llsc.h>
#else
#include <asm/bitops-irq.h>
#include <asm-generic/bitops/atomic.h>
#include <asm-generic/bitops/non-atomic.h>
#endif


/*
* clear_bit() doesn't provide any barrier for the compiler.
*/
#define smp_mb__before_clear_bit() barrier()
#define smp_mb__after_clear_bit() barrier()

#include <asm-generic/bitops/non-atomic.h>

#ifdef CONFIG_SUPERH32
static inline unsigned long ffz(unsigned long word)
{
Expand Down

0 comments on commit 16e56ab

Please sign in to comment.