part/dev_desc: Add log2 of blocksize to block_dev_desc data struct
authorEgbert Eich <eich@suse.com>
Tue, 9 Apr 2013 21:11:56 +0000 (21:11 +0000)
committerTom Rini <trini@ti.com>
Wed, 1 May 2013 20:24:02 +0000 (16:24 -0400)
commit0472fbfd3250d1a33d3de78afdcbf24f78ac026b
tree1d5f822e2d95f800121368bba96a185ae6f7b0fb
parentbc8d98713f10582f4e35b9208f1b967c6a9f9953
part/dev_desc: Add log2 of blocksize to block_dev_desc data struct

log2 of the device block size serves as the shift value used to calculate
the block number to read in file systems when implementing avaiable block
sizes.
It is needed quite often in file systems thus it is pre-calculated and
stored in the block device descriptor.

Signed-off-by: Egbert Eich <eich@suse.com>
common/cmd_ide.c
common/cmd_sata.c
common/cmd_scsi.c
common/usb_storage.c
drivers/block/ata_piix.c
drivers/block/pata_bfin.c
drivers/block/systemace.c
drivers/mmc/mmc.c
include/part.h