• C
    hvc_console: Fix free_irq in spinlocked section · eef2622a
    Christian Borntraeger 提交于
        commit 611e097d
        Author: Christian Borntraeger <borntraeger@de.ibm.com>
        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<borntraeger@de.ibm.com>
    Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
    eef2622a
hvc_console.c 20.2 KB