search for: 481b59b

Displaying 1 result from an estimated 1 matches for "481b59b".

Did you mean: 481859
2010 Aug 13
0
small patch for core/fs/diskio.c to remove redundant register write
The disk number is set twice in diskio.c/edd_rdwr_sectors() this patch removes the redundant setting. diff --git a/core/fs/diskio.c b/core/fs/diskio.c index 481b59b..38d3da3 100644 --- a/core/fs/diskio.c +++ b/core/fs/diskio.c @@ -163,8 +163,6 @@ static int edd_rdwr_sectors(struct disk *disk, void *buf, memset(&reset, 0, sizeof reset); - ireg.edx.b[0] = disk->disk_number; - lba += disk->part_start; while (count) { chunk = coun...