]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Enable interrupts before calling do_notify_resume()
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 8 Oct 2012 17:04:21 +0000 (18:04 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 8 Oct 2012 17:04:21 +0000 (18:04 +0100)
commit6b1d690509ca5cee7474edd39bdbe2c3b1456541
treeb0a4be0ca36e36e65ff7ebd63c8405769c957130
parente4d466965906c75868087c988d55d008130e7b7a
arm64: Enable interrupts before calling do_notify_resume()

task_work_run() implementation had the side effect of enabling
interrupts. With commit b199f940 (task_work: Make task_work_add()
lockless), interrupts are no longer enabled revealing the bug in the
arch code. This patch enables the interrupt explicitly before calling
do_notify_resume().

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/entry.S