]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
mtd: atmel_nand: use CPU I/O when buffer is in vmalloc(ed) region
authorHong Xu <hong.xu@atmel.com>
Thu, 31 Mar 2011 10:33:15 +0000 (18:33 +0800)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 1 Apr 2011 14:25:24 +0000 (17:25 +0300)
commit80b4f81a49809774f1b123c456fb179e472dbd0e
tree397325b8cdcd269109d65063853cdd77b989ff10
parent9d51567e47a0d84f6b6e7751a4ea4f710cdcbbdf
mtd: atmel_nand: use CPU I/O when buffer is in vmalloc(ed) region

The previous way of dealing with vmalloc(ed) region by walking
though the pages can not work well actually. We just fall back
to CPU I/O when the buffer address is higher than `high_memory'.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Hong Xu <hong.xu@atmel.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/nand/atmel_nand.c