git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rt2x00: Cleanup indirect register access
[pandora-kernel.git]
/
lib
/
rwsem-spinlock.c
diff --git
a/lib/rwsem-spinlock.c
b/lib/rwsem-spinlock.c
index
db4fed7
..
9df3ca5
100644
(file)
--- a/
lib/rwsem-spinlock.c
+++ b/
lib/rwsem-spinlock.c
@@
-28,7
+28,7
@@
void __init_rwsem(struct rw_semaphore *sem, const char *name,
* Make sure we are not reinitializing a held semaphore:
*/
debug_check_no_locks_freed((void *)sem, sizeof(*sem));
* Make sure we are not reinitializing a held semaphore:
*/
debug_check_no_locks_freed((void *)sem, sizeof(*sem));
- lockdep_init_map(&sem->dep_map, name, key);
+ lockdep_init_map(&sem->dep_map, name, key
, 0
);
#endif
sem->activity = 0;
spin_lock_init(&sem->wait_lock);
#endif
sem->activity = 0;
spin_lock_init(&sem->wait_lock);
@@
-125,7
+125,7
@@
__rwsem_wake_one_writer(struct rw_semaphore *sem)
/*
* get a read lock on the semaphore
*/
/*
* get a read lock on the semaphore
*/
-void
fastcall
__sched __down_read(struct rw_semaphore *sem)
+void __sched __down_read(struct rw_semaphore *sem)
{
struct rwsem_waiter waiter;
struct task_struct *tsk;
{
struct rwsem_waiter waiter;
struct task_struct *tsk;
@@
-168,7
+168,7
@@
void fastcall __sched __down_read(struct rw_semaphore *sem)
/*
* trylock for reading -- returns 1 if successful, 0 if contention
*/
/*
* trylock for reading -- returns 1 if successful, 0 if contention
*/
-int
fastcall
__down_read_trylock(struct rw_semaphore *sem)
+int __down_read_trylock(struct rw_semaphore *sem)
{
unsigned long flags;
int ret = 0;
{
unsigned long flags;
int ret = 0;
@@
-191,7
+191,7
@@
int fastcall __down_read_trylock(struct rw_semaphore *sem)
* get a write lock on the semaphore
* - we increment the waiting count anyway to indicate an exclusive lock
*/
* get a write lock on the semaphore
* - we increment the waiting count anyway to indicate an exclusive lock
*/
-void
fastcall
__sched __down_write_nested(struct rw_semaphore *sem, int subclass)
+void __sched __down_write_nested(struct rw_semaphore *sem, int subclass)
{
struct rwsem_waiter waiter;
struct task_struct *tsk;
{
struct rwsem_waiter waiter;
struct task_struct *tsk;
@@
-231,7
+231,7
@@
void fastcall __sched __down_write_nested(struct rw_semaphore *sem, int subclass
;
}
;
}
-void
fastcall
__sched __down_write(struct rw_semaphore *sem)
+void __sched __down_write(struct rw_semaphore *sem)
{
__down_write_nested(sem, 0);
}
{
__down_write_nested(sem, 0);
}
@@
-239,7
+239,7
@@
void fastcall __sched __down_write(struct rw_semaphore *sem)
/*
* trylock for writing -- returns 1 if successful, 0 if contention
*/
/*
* trylock for writing -- returns 1 if successful, 0 if contention
*/
-int
fastcall
__down_write_trylock(struct rw_semaphore *sem)
+int __down_write_trylock(struct rw_semaphore *sem)
{
unsigned long flags;
int ret = 0;
{
unsigned long flags;
int ret = 0;
@@
-260,7
+260,7
@@
int fastcall __down_write_trylock(struct rw_semaphore *sem)
/*
* release a read lock on the semaphore
*/
/*
* release a read lock on the semaphore
*/
-void
fastcall
__up_read(struct rw_semaphore *sem)
+void __up_read(struct rw_semaphore *sem)
{
unsigned long flags;
{
unsigned long flags;
@@
-275,7
+275,7
@@
void fastcall __up_read(struct rw_semaphore *sem)
/*
* release a write lock on the semaphore
*/
/*
* release a write lock on the semaphore
*/
-void
fastcall
__up_write(struct rw_semaphore *sem)
+void __up_write(struct rw_semaphore *sem)
{
unsigned long flags;
{
unsigned long flags;
@@
-292,7
+292,7
@@
void fastcall __up_write(struct rw_semaphore *sem)
* downgrade a write lock into a read lock
* - just wake up any readers at the front of the queue
*/
* downgrade a write lock into a read lock
* - just wake up any readers at the front of the queue
*/
-void
fastcall
__downgrade_write(struct rw_semaphore *sem)
+void __downgrade_write(struct rw_semaphore *sem)
{
unsigned long flags;
{
unsigned long flags;