|
@@ -2659,8 +2659,8 @@ static void __init sdebug_build_parts(unsigned char *ramp,
|
|
/ sdebug_sectors_per;
|
|
/ sdebug_sectors_per;
|
|
pp->end_sector = (end_sec % sdebug_sectors_per) + 1;
|
|
pp->end_sector = (end_sec % sdebug_sectors_per) + 1;
|
|
|
|
|
|
- pp->start_sect = start_sec;
|
|
|
|
- pp->nr_sects = end_sec - start_sec + 1;
|
|
|
|
|
|
+ pp->start_sect = cpu_to_le32(start_sec);
|
|
|
|
+ pp->nr_sects = cpu_to_le32(end_sec - start_sec + 1);
|
|
pp->sys_ind = 0x83; /* plain Linux partition */
|
|
pp->sys_ind = 0x83; /* plain Linux partition */
|
|
}
|
|
}
|
|
}
|
|
}
|