Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 234322
b: refs/heads/master
c: c16a87c
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner committed Jan 27, 2011
1 parent e3f95d6 commit 23fd755
Show file tree
Hide file tree
Showing 11 changed files with 4 additions and 49 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: d04fa5a3ba06c3b7a1c4a6860d0fa4825507a755
refs/heads/master: c16a87ce063f79e0ec7d25ce2950e1bc6db03c72
4 changes: 0 additions & 4 deletions trunk/arch/alpha/include/asm/rwsem.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@
#ifdef __KERNEL__

#include <linux/compiler.h>
#include <linux/list.h>
#include <linux/spinlock.h>

struct rwsem_waiter;

extern struct rw_semaphore *rwsem_down_read_failed(struct rw_semaphore *sem);
extern struct rw_semaphore *rwsem_down_write_failed(struct rw_semaphore *sem);
Expand Down
3 changes: 0 additions & 3 deletions trunk/arch/ia64/include/asm/rwsem.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@
#error "Please don't include <asm/rwsem.h> directly, use <linux/rwsem.h> instead."
#endif

#include <linux/list.h>
#include <linux/spinlock.h>

#include <asm/intrinsics.h>

/*
Expand Down
5 changes: 0 additions & 5 deletions trunk/arch/powerpc/include/asm/rwsem.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
* by Paul Mackerras <paulus@samba.org>.
*/

#include <linux/list.h>
#include <linux/spinlock.h>
#include <asm/atomic.h>
#include <asm/system.h>

/*
* the semaphore definition
*/
Expand Down
5 changes: 0 additions & 5 deletions trunk/arch/s390/include/asm/rwsem.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,6 @@

#ifdef __KERNEL__

#include <linux/list.h>
#include <linux/spinlock.h>

struct rwsem_waiter;

extern struct rw_semaphore *rwsem_down_read_failed(struct rw_semaphore *);
extern struct rw_semaphore *rwsem_down_write_failed(struct rw_semaphore *);
extern struct rw_semaphore *rwsem_wake(struct rw_semaphore *);
Expand Down
5 changes: 0 additions & 5 deletions trunk/arch/sh/include/asm/rwsem.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@
#endif

#ifdef __KERNEL__
#include <linux/list.h>
#include <linux/spinlock.h>
#include <asm/atomic.h>
#include <asm/system.h>

/*
* the semaphore definition
*/
Expand Down
6 changes: 0 additions & 6 deletions trunk/arch/sparc/include/asm/rwsem.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@
#endif

#ifdef __KERNEL__

#include <linux/list.h>
#include <linux/spinlock.h>

struct rwsem_waiter;

struct rw_semaphore {
signed long count;
#define RWSEM_UNLOCKED_VALUE 0x00000000L
Expand Down
6 changes: 0 additions & 6 deletions trunk/arch/x86/include/asm/rwsem.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,8 @@
#endif

#ifdef __KERNEL__

#include <linux/list.h>
#include <linux/spinlock.h>
#include <linux/lockdep.h>
#include <asm/asm.h>

struct rwsem_waiter;

extern asmregparm struct rw_semaphore *
rwsem_down_read_failed(struct rw_semaphore *sem);
extern asmregparm struct rw_semaphore *
Expand Down
6 changes: 0 additions & 6 deletions trunk/arch/xtensa/include/asm/rwsem.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@
#ifndef _LINUX_RWSEM_H
#error "Please don't include <asm/rwsem.h> directly, use <linux/rwsem.h> instead."
#endif

#include <linux/list.h>
#include <linux/spinlock.h>
#include <asm/atomic.h>
#include <asm/system.h>

/*
* the semaphore definition
*/
Expand Down
8 changes: 0 additions & 8 deletions trunk/include/linux/rwsem-spinlock.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,7 @@
#error "please don't include linux/rwsem-spinlock.h directly, use linux/rwsem.h instead"
#endif

#include <linux/spinlock.h>
#include <linux/list.h>

#ifdef __KERNEL__

#include <linux/types.h>

struct rwsem_waiter;

/*
* the rw-semaphore definition
* - if activity is 0 then there are no active readers or writers
Expand Down
3 changes: 3 additions & 0 deletions trunk/include/linux/rwsem.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@

#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/spinlock.h>

#include <asm/system.h>
#include <asm/atomic.h>

Expand Down

0 comments on commit 23fd755

Please sign in to comment.