W dniu 27.04.2013 03:45, Luiz Angelo Daros de Luca pisze:
/block/partitions/msdos.c:
this_sector = first_sector + start_sect(p) * sector_size;
please look at linux/types.h
maybe CONFIG_LBDAF is not set
#ifdef CONFIG_LBDAF
typedef u64 sector_t;
typedef u64 blkcnt_t;
#else
typedef unsigned long sector_t;
typedef unsigned long blkcnt_t;
#endif
if it does not help, try to remove inline here,
maby it's an omptimise problem
static inline sector_t start_sect(struct partition *p)
{
return (sector_t)get_unaligned_le32(&p->start_sect);
}
best regards
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel