From: David Howells Date: Thu, 12 Feb 2009 10:40:05 +0000 (+0000) Subject: NOMMU: Add support for direct mapping through mtdconcat if possible X-Git-Tag: v2.6.30-rc1~143^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e232cfce35a20a8702d9ac7709d35030c1b3271;p=pandora-kernel.git NOMMU: Add support for direct mapping through mtdconcat if possible Add support for direct mapping through mtdconcat, if possible, by attaching the samebacking_dev_info structure to the master. It has some restrictions: (1) It won't permit direct mapping of concatenated devices that have differing BDIs. (2) It doesn't support maps that span the 'gap' between devices, although it possibly could if the devices spanned across return compatible (ie. contiguous) addresses from their get_unmapped_area() ops. Signed-off-by: Gavin Lambert Signed-off-by: David Howells Tested-by: Bernd Schmidt Signed-off-by: David Woodhouse --- Reading git-diff-tree failed