[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)
commit75f631dc45c7327df26b82b9aea69376a306409c
tree95535491bae8e4126cb743e4000e7c201d7392c2
parente9dea0c65d2de6981356c055781fb99d7191b14e
[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