Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 42943
b: refs/heads/master
c: bb8cc64
h: refs/heads/master
i:
  42941: 60127a8
  42939: 7efd69c
  42935: 4244ef6
  42927: e6b59e6
  42911: 04ce238
  42879: 4862dfc
v: v3
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Dec 7, 2006
1 parent a9e0712 commit 4d2bc73
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 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: 30aaa5c67e72849ccf290b9a7cad58e43bbb47ac
refs/heads/master: bb8cc641653d785e3f3b8d3b0182a69edf825802
10 changes: 5 additions & 5 deletions trunk/include/asm-cris/arch-v10/bitops.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* number. They differ in that the first function also inverts all bits
* in the input.
*/
extern inline unsigned long cris_swapnwbrlz(unsigned long w)
static inline unsigned long cris_swapnwbrlz(unsigned long w)
{
/* Let's just say we return the result in the same register as the
input. Saying we clobber the input but can return the result
Expand All @@ -26,7 +26,7 @@ extern inline unsigned long cris_swapnwbrlz(unsigned long w)
return res;
}

extern inline unsigned long cris_swapwbrlz(unsigned long w)
static inline unsigned long cris_swapwbrlz(unsigned long w)
{
unsigned res;
__asm__ ("swapwbr %0 \n\t"
Expand All @@ -40,7 +40,7 @@ extern inline unsigned long cris_swapwbrlz(unsigned long w)
* ffz = Find First Zero in word. Undefined if no zero exists,
* so code should check against ~0UL first..
*/
extern inline unsigned long ffz(unsigned long w)
static inline unsigned long ffz(unsigned long w)
{
return cris_swapnwbrlz(w);
}
Expand All @@ -51,7 +51,7 @@ extern inline unsigned long ffz(unsigned long w)
*
* Undefined if no bit exists, so code should check against 0 first.
*/
extern inline unsigned long __ffs(unsigned long word)
static inline unsigned long __ffs(unsigned long word)
{
return cris_swapnwbrlz(~word);
}
Expand All @@ -65,7 +65,7 @@ extern inline unsigned long __ffs(unsigned long word)
* differs in spirit from the above ffz (man ffs).
*/

extern inline unsigned long kernel_ffs(unsigned long w)
static inline unsigned long kernel_ffs(unsigned long w)
{
return w ? cris_swapwbrlz (w) + 1 : 0;
}
Expand Down
8 changes: 4 additions & 4 deletions trunk/include/asm-cris/semaphore-helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
/*
* These two _must_ execute atomically wrt each other.
*/
extern inline void wake_one_more(struct semaphore * sem)
static inline void wake_one_more(struct semaphore * sem)
{
atomic_inc(&sem->waking);
}

extern inline int waking_non_zero(struct semaphore *sem)
static inline int waking_non_zero(struct semaphore *sem)
{
unsigned long flags;
int ret = 0;
Expand All @@ -40,7 +40,7 @@ extern inline int waking_non_zero(struct semaphore *sem)
return ret;
}

extern inline int waking_non_zero_interruptible(struct semaphore *sem,
static inline int waking_non_zero_interruptible(struct semaphore *sem,
struct task_struct *tsk)
{
int ret = 0;
Expand All @@ -59,7 +59,7 @@ extern inline int waking_non_zero_interruptible(struct semaphore *sem,
return ret;
}

extern inline int waking_non_zero_trylock(struct semaphore *sem)
static inline int waking_non_zero_trylock(struct semaphore *sem)
{
int ret = 1;
unsigned long flags;
Expand Down

0 comments on commit 4d2bc73

Please sign in to comment.