From: Christian Borntraeger Date: Thu, 23 Oct 2008 01:18:31 +0000 (+1100) Subject: hvc_console: Fix free_irq in spinlocked section X-Git-Tag: v2.6.27.4~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=220d13c9015f53509245807f4e4d86e8d062a26d;p=pandora-kernel.git hvc_console: Fix free_irq in spinlocked section commit eef2622a9fcfa964073333ea72c7c9cd20ad45e6 upstream hvc_console: Fix free_irq in spinlocked section commit 611e097d7707741a336a0677d9d69bec40f29f3d Author: Christian Borntraeger hvc_console: rework setup to replace irq functions with callbacks introduced a spinlock recursion problem. The notifier_del is called with a lock held, and in turns calls free_irq which then complains when manipulating procfs. This fixes it by moving the call to the notifier to outside of the locked section. Signed-off-by: Christian Borntraeger Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed