]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] ARM: 2785/1: S3C24XX - serial calls request_irq() with IRQs disabled
authorBen Dooks <ben-linux@fluff.org>
Sun, 3 Jul 2005 16:44:40 +0000 (17:44 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 3 Jul 2005 16:44:40 +0000 (17:44 +0100)
commitc0cf5e76586e16ebe9e4293146032bd4b0d970a3
tree95535491bae8e4126cb743e4000e7c201d7392c2
parent532e7bb62ca3fc8f7d0836411ce333976a29ffde
[PATCH] ARM: 2785/1: S3C24XX - serial calls request_irq() with IRQs disabled

Patch from Ben Dooks

The request_irq() function is called by s3c24xx uart driver with
the local IRQs disabled. The request_irq() function can allocate
memory via kmalloc(), and this may sleep causing a warning about
sleeping in an invalid context.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/serial/s3c2410.c