From: Matthew Wilcox Date: Fri, 29 Sep 2006 08:58:36 +0000 (-0700) Subject: [PATCH] remove generic__raw_read_trylock() X-Git-Tag: v2.6.19-rc1~855 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=910067d188d56d80801b71b0ca1f73aa400c7b8c;p=pandora-kernel.git [PATCH] remove generic__raw_read_trylock() If the cpu has the lock held for write, is interrupted, and the interrupt handler calls read_trylock(), it's an instant deadlock. Now, Dave Miller has subsequently pointed out that we don't have any situations where this can occur. Nevertheless, we should delete generic__raw_read_lock (and its associated EXPORT to make Arjan happy) so that nobody thinks they can use it. Acked-by: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed