From: Bartlomiej Zolnierkiewicz Date: Mon, 29 Dec 2008 19:27:31 +0000 (+0100) Subject: ide: replace the global ide_lock spinlock by per-hwgroup spinlocks (v2) X-Git-Tag: v2.6.29-rc1~561^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a2ca6a96194c4744a2adeefbc09ce881f3c5abe;p=pandora-kernel.git ide: replace the global ide_lock spinlock by per-hwgroup spinlocks (v2) Now that (almost) all host drivers have been fixed not to abuse ide_lock and core code usage of ide_lock has been sanitized we may safely replace ide_lock by per-hwgroup locks. This patch is partially based on earlier patch from Ravikiran G Thirumalai. While at it: - don't use deprecated HWIF() and HWGROUP() macros - update locking documentation in ide.h v2: Add missing spin_lock_init(&hwgroup->lock). (Noticed by Elias Oltmanns) Cc: Vaibhav V. Nivargi Cc: Alok N. Kataria Cc: Shai Fultheim Signed-off-by: Ravikiran Thirumalai Cc: Elias Oltmanns Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed