diff --git a/block/partitions/mtdpart.c b/block/partitions/mtdpart.c index ac2cf4d8efb5..6f3e0044bfdb 100755 --- a/block/partitions/mtdpart.c +++ b/block/partitions/mtdpart.c @@ -73,7 +73,7 @@ static struct mtd_partition * newpart(char *s, else { size = memparse(s, &s); - if (size < PAGE_SIZE) + if (size < (PAGE_SIZE)>>9) { printk(KERN_ERR ERRP "partition size too small (%llx)\n", size); return NULL;