[freenos] r414 committed - Added missing spinlock_release() in the switch() for 0.

  • From: freenos@xxxxxxxxxxxxxx
  • To: freenos@xxxxxxxxxxxxx
  • Date: Thu, 21 Oct 2010 21:38:30 +0000

Revision: 414
Author: nieklinnenbank
Date: Thu Oct 21 14:34:06 2010
Log: Added missing spinlock_release() in the switch() for 0.

http://code.google.com/p/freenos/source/detail?r=414

Modified:
 /branches/scratch/system/printk.c

=======================================
--- /branches/scratch/system/printk.c   Sun Oct 10 16:06:55 2010
+++ /branches/scratch/system/printk.c   Thu Oct 21 14:34:06 2010
@@ -59,6 +59,7 @@
        {
            /* End of file reached. */
            case 0:
+               spinlock_leave(&print_lock);
                return;

            /* Process bytes. */
@@ -68,4 +69,3 @@
     }
     spinlock_leave(&print_lock);
 }
-

Other related posts:

  • » [freenos] r414 committed - Added missing spinlock_release() in the switch() for 0. - freenos