Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11457
b: refs/heads/master
c: 342e73b
h: refs/heads/master
i:
  11455: 68b8f0f
v: v3
  • Loading branch information
Jon Loeliger authored and Paul Mackerras committed Sep 25, 2005
1 parent 0f25a94 commit aeaae48
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 184 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: feaf7cf153335fe7100b65ed6f4585c3574fe69a
refs/heads/master: 342e73b3d6fd1321d1eaaa6a935f267a300ceebd
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
#ifndef _ASM_POWERPC_RWSEM_H
#define _ASM_POWERPC_RWSEM_H

#ifdef __KERNEL__

/*
* include/asm-ppc64/rwsem.h: R/W semaphores for PPC using the stuff
* in lib/rwsem.c. Adapted largely from include/asm-i386/rwsem.h
* by Paul Mackerras <paulus@samba.org>.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*/

#ifndef _PPC64_RWSEM_H
#define _PPC64_RWSEM_H

#ifdef __KERNEL__
#include <linux/list.h>
#include <linux/spinlock.h>
#include <asm/atomic.h>
Expand Down Expand Up @@ -163,5 +159,5 @@ static inline int rwsem_atomic_update(int delta, struct rw_semaphore *sem)
return atomic_add_return(delta, (atomic_t *)(&sem->count));
}

#endif /* __KERNEL__ */
#endif /* _PPC_RWSEM_XADD_H */
#endif /* __KERNEL__ */
#endif /* _ASM_POWERPC_RWSEM_H */
172 changes: 0 additions & 172 deletions trunk/include/asm-ppc/rwsem.h

This file was deleted.

0 comments on commit aeaae48

Please sign in to comment.