X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_mtdif1_multi.c;h=cf9c54cce23a98aa92a3b130edd21e9b9a6451a1;hp=603dc97a9f25670682b9d115a94404fa09aaf21c;hb=8cbfc1e273db791447911631e80c0495c6171ca8;hpb=79d0e028d5b777b2e4cf55d96b737cb024988abe diff --git a/yaffs_mtdif1_multi.c b/yaffs_mtdif1_multi.c index 603dc97..cf9c54c 100644 --- a/yaffs_mtdif1_multi.c +++ b/yaffs_mtdif1_multi.c @@ -238,7 +238,7 @@ int nandmtd1_read_chunk_tags(struct yaffs_dev *dev, deleted = !pt1.deleted; pt1.deleted = 1; #else - deleted = (yaffs_count_bits(((u8 *) & pt1)[8]) < 7); + deleted = (hweight8(((u8 *) & pt1)[8]) < 7); #endif /* Check the packed tags mini-ECC and correct if necessary/possible.