disk/iso: Add Support for block sizes > 512 byte to ISO partition support

For ISO we check the block size of the device if this is != the CD sector
size we assume that the device has no ISO partition.

Signed-off-by: Egbert Eich <eich@suse.com>
This commit is contained in:
Egbert Eich 2013-04-09 21:11:54 +00:00 committed by Tom Rini
parent ae1768a72c
commit d7ea4d4d4c
2 changed files with 4 additions and 1 deletions

View file

@ -1032,7 +1032,7 @@ static inline phys_addr_t map_to_sysmem(void *ptr)
*/
#define DEFINE_ALIGN_BUFFER(type, name, size, align) \
static char __##name[roundup(size * sizeof(type), align)] \
__attribute__((aligned(align))); \
__aligned(align); \
\
static type *name = (type *)__##name
#define DEFINE_CACHE_ALIGN_BUFFER(type, name, size) \