lkml.org 
[lkml]   [2004]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH 2.6.6-mm4] ring_info spinlock initialization
From
Date
Hi,
ring_info spinlock was not initialized in INIT_KIOCTX.

Regards,
FabF
diff -Naur orig/include/linux/init_task.h edited/include/linux/init_task.h
--- orig/include/linux/init_task.h 2004-05-10 04:32:00.000000000 +0200
+++ edited/include/linux/init_task.h 2004-05-21 14:26:56.000000000 +0200
@@ -29,6 +29,7 @@
.ctx_lock = SPIN_LOCK_UNLOCKED, \
.reqs_active = 0U, \
.max_reqs = ~0U, \
+ .ring_info.ring_lock = SPIN_LOCK_UNLOCKED \
}

#define INIT_MM(name) \
\
 
 \ /
  Last update: 2005-03-22 14:03    [W:1.822 / U:1.708 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site