From: Akinobu Mita Date: Sun, 28 Jul 2013 02:21:53 +0000 (+0900) Subject: mtd: nandsim: convert pages_written[] to bitmap X-Git-Tag: v3.12-rc1~82^2~95 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08efe91a1befa67bcc3799e0d29b7194803e1538;p=pandora-kernel.git mtd: nandsim: convert pages_written[] to bitmap nandsim.pages_written[] is the array of unsigned char which is indexed by the page number and used for identifying which pages have been written when cache_file is used. Each entry holds 0 (not written) or 1 (written), so it can be converted to bitmap. This reduces the allocation size of pages_written[] by 1/8. Signed-off-by: Akinobu Mita Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed