__downgrade_write: wrong debug message

Message ID Pine.GSO.4.21.0209261154450.25364-100000@vervain.sonytel.be
State New, archived
Headers show
Series
  • __downgrade_write: wrong debug message
Related show

Commit Message

Geert Uytterhoeven Sept. 26, 2002, 9:55 a.m. UTC
Fix debug message in __downgrade_write()


Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Patch

--- linux-2.5.38/lib/rwsem-spinlock.c	Sun Aug  4 15:58:58 2002
+++ linux-m68k-2.5.38/lib/rwsem-spinlock.c	Mon Aug 12 17:03:31 2002
@@ -290,7 +290,7 @@ 
  */
 void __downgrade_write(struct rw_semaphore *sem)
 {
-	rwsemtrace(sem,"Entering __rwsem_downgrade");
+	rwsemtrace(sem,"Entering __downgrade_write");
 
 	spin_lock(&sem->wait_lock);
 
@@ -300,7 +300,7 @@ 
 
 	spin_unlock(&sem->wait_lock);
 
-	rwsemtrace(sem,"Leaving __rwsem_downgrade");
+	rwsemtrace(sem,"Leaving __downgrade_write");
 }
 
 EXPORT_SYMBOL(init_rwsem);