From: Jassi Date: Tue, 15 Sep 2009 10:01:20 +0000 (+0900) Subject: ARM: S3C64XX: DMA: Debugged alloc's with GFP_KERNEL flag in Intr context. X-Git-Tag: v2.6.32-rc1~49^2~1^2~14^2^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b93011e72c1476b08ff62977ecf648080ba38c1a;p=pandora-kernel.git ARM: S3C64XX: DMA: Debugged alloc's with GFP_KERNEL flag in Intr context. s3c2410_dma_enqueue makes call to kzalloc and dma_pool_alloc with GFP_KERNEL flag set, this can be an issue for drivers, like I2S, which call s3c2410_dma_enqueue from dma-bufferdone callback. Change the flag GFP_KERNEL to GFP_ATOMIC to avoid any problems. Signed-Off-by: Jassi [ben-linux@fluff.org: Minor description edit and re-wrap] Signed-off-by: Ben Dooks --- Reading git-diff-tree failed