]> git.baikalelectronics.ru Git - 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)
commitab8ac9330fb0f36d209ecb929701dbb3903374f1
tree397325b8cdcd269109d65063853cdd77b989ff10
parent76db5f306a9f49aab2c88b2fe7c252f8430f7703
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