From: Hong Xu Date: Thu, 31 Mar 2011 10:33:15 +0000 (+0800) Subject: mtd: atmel_nand: use CPU I/O when buffer is in vmalloc(ed) region X-Git-Tag: v2.6.39-rc3~8^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80b4f81a49809774f1b123c456fb179e472dbd0e;p=pandora-kernel.git 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 Signed-off-by: Hong Xu Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed