ia64/xen-unstable

changeset 731:5916b2c0e9e3

bitkeeper revision 1.434 (3f69a688TSLPux-hukw7SZYny9jpxw)

Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xeno
author kaf24@scramble.cl.cam.ac.uk
date Thu Sep 18 12:35:20 2003 +0000 (2003-09-18)
parents 5dab2fb654cd f2b5ad4cc6b1
children 7192aa19b83c e2fd844b9778
files xenolinux-2.4.22-sparse/arch/xeno/drivers/block/xl_ide.c
line diff
     1.1 --- a/xenolinux-2.4.22-sparse/arch/xeno/drivers/block/xl_ide.c	Thu Sep 18 11:27:03 2003 +0000
     1.2 +++ b/xenolinux-2.4.22-sparse/arch/xeno/drivers/block/xl_ide.c	Thu Sep 18 12:35:20 2003 +0000
     1.3 @@ -94,7 +94,7 @@ static void setup_major(struct gendisk *
     1.4               (disk < base) || (disk >= (base + XLIDE_DEVS_PER_MAJOR)) ) 
     1.5              continue;
     1.6  
     1.7 -        ((xl_disk_t *)gd->real_devices)[disk].capacity =
     1.8 +        ((xl_disk_t *)gd->real_devices)[disk-base].capacity =
     1.9              xdi->disks[i].capacity;
    1.10  
    1.11          switch (xdi->disks[i].type)