aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/rwsem.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-01-26 15:32:01 -0500
committerThomas Gleixner <tglx@linutronix.de>2011-01-27 06:30:40 -0500
commitd123375425d7df4b6081a631fc1203fceafa59b2 (patch)
tree4236dd54ab130ff87e257a85dc87a55d49ed4222 /include/linux/rwsem.h
parentaac72277fda6ef788bb8d5deaa502ce9b9b6e472 (diff)
rwsem: Remove redundant asmregparm annotation
Peter Zijlstra pointed out, that the only user of asmregparm (x86) is compiling the kernel already with -mregparm=3. So the annotation of the rwsem functions is redundant. Remove it. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: David Howells <dhowells@redhat.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Matt Turner <mattst88@gmail.com> Cc: Tony Luck <tony.luck@intel.com> Cc: Heiko Carstens <heiko.carstens@de.ibm.com> Cc: Paul Mundt <lethal@linux-sh.org> Cc: David Miller <davem@davemloft.net> Cc: Chris Zankel <chris@zankel.net> LKML-Reference: <alpine.LFD.2.00.1101262130450.31804@localhost6.localdomain6> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/rwsem.h')
-rw-r--r--include/linux/rwsem.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/rwsem.h b/include/linux/rwsem.h
index f7c957f3165f..a8afe9cd000c 100644
--- a/include/linux/rwsem.h
+++ b/include/linux/rwsem.h
@@ -32,10 +32,10 @@ struct rw_semaphore {
32#endif 32#endif
33}; 33};
34 34
35extern asmregparm struct rw_semaphore *rwsem_down_read_failed(struct rw_semaphore *sem); 35extern struct rw_semaphore *rwsem_down_read_failed(struct rw_semaphore *sem);
36extern asmregparm struct rw_semaphore *rwsem_down_write_failed(struct rw_semaphore *sem); 36extern struct rw_semaphore *rwsem_down_write_failed(struct rw_semaphore *sem);
37extern asmregparm struct rw_semaphore *rwsem_wake(struct rw_semaphore *); 37extern struct rw_semaphore *rwsem_wake(struct rw_semaphore *);
38extern asmregparm struct rw_semaphore *rwsem_downgrade_wake(struct rw_semaphore *sem); 38extern struct rw_semaphore *rwsem_downgrade_wake(struct rw_semaphore *sem);
39 39
40/* Include the arch specific part */ 40/* Include the arch specific part */
41#include <asm/rwsem.h> 41#include <asm/rwsem.h>