]> err.no Git - linux-2.6/commit
ACPI: video - remove unsafe uses of list_for_each_safe()
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 5 Nov 2007 16:43:31 +0000 (11:43 -0500)
committerLen Brown <len.brown@intel.com>
Wed, 14 Nov 2007 17:14:28 +0000 (12:14 -0500)
commitff102ea99099c36250e93a87a9794b5233801020
tree19cf2ac073458b8337e9514589ad2c284407f50b
parentf51e83916a0a022d3d0ea39ae2f877c703032923
ACPI: video - remove unsafe uses of list_for_each_safe()

list_for_each_safe() only protects list from list alterations
performed by the same thread. One still needs to implement
proper locking when list is being accessed from several threads.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/video.c