mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [mmotm][PATCH] ia64: typo fix of implement interrupt-enabling rwlocks
@ 2008-12-16  8:02 KOSAKI Motohiro
  0 siblings, 0 replies; only message in thread
From: KOSAKI Motohiro @ 2008-12-16  8:02 UTC (permalink / raw)
  To: Petr Tesarik, Robin Holt, Ingo Molnar, Peter Zijlstra, Luck,
	Tony, LKML, linux-ia64, Andrew Morton
  Cc: kosaki.motohiro



Applied after: ia64-implement-interrupt-enabling-rwlocks.patch
==
Recently, __raw_read_lock_flags and __raw_write_lock_flags for ia64 was implemented.

But its patch has typo. then following warnings happend.

  CC      lib/spinlock_debug.o
lib/spinlock_debug.c: In function '_raw_read_lock':
lib/spinlock_debug.c:199: warning: passing argument 1 of '__raw_read_lock_flags' from incompatible pointer type
lib/spinlock_debug.c: In function '_raw_write_lock':
lib/spinlock_debug.c:274: warning: passing argument 1 of '__raw_write_lock_flags' from incompatible pointer type


Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
CC: Petr Tesarik <ptesarik@suse.cz>
CC: Robin Holt <holt@sgi.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: "Luck, Tony" <tony.luck@intel.com>
---
 arch/ia64/include/asm/spinlock.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: b/arch/ia64/include/asm/spinlock.h
===================================================================
--- a/arch/ia64/include/asm/spinlock.h
+++ b/arch/ia64/include/asm/spinlock.h
@@ -123,7 +123,7 @@ do {											\
 #ifdef ASM_SUPPORTED
 
 static __always_inline void
-__raw_read_lock_flags(raw_spinlock_t *lock, unsigned long flags)
+__raw_read_lock_flags(raw_rwlock_t *lock, unsigned long flags)
 {
 	__asm__ __volatile__ (
 		"tbit.nz p6, p0 = %1,%2\n"
@@ -174,7 +174,7 @@ do {								\
 #ifdef ASM_SUPPORTED
 
 static __always_inline void
-__raw_write_lock_flags(raw_spinlock_t *lock, unsigned long flags)
+__raw_write_lock_flags(raw_rwlock_t *lock, unsigned long flags)
 {
 	__asm__ __volatile__ (
 		"tbit.nz p6, p0 = %1, %2\n"



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-12-16  8:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-16  8:02 [mmotm][PATCH] ia64: typo fix of implement interrupt-enabling rwlocks KOSAKI Motohiro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®