debuggers.hg
diff xen/drivers/pci/setup-res.c @ 3658:0ef6e8e6e85d
bitkeeper revision 1.1159.212.71 (4200f0afX_JumfbEHQex6TdFENULMQ)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
author | iap10@labyrinth.cl.cam.ac.uk |
---|---|
date | Wed Feb 02 15:24:31 2005 +0000 (2005-02-02) |
parents | dae98734f12e beb0887c54bc |
children | bbe8541361dd |
line diff
1.1 --- a/xen/drivers/pci/setup-res.c Wed Feb 02 09:38:32 2005 +0000 1.2 +++ b/xen/drivers/pci/setup-res.c Wed Feb 02 15:24:31 2005 +0000 1.3 @@ -171,10 +171,10 @@ pdev_sort_resources(struct pci_dev *dev, 1.4 ln->res->start; 1.5 } 1.6 if (r_align > align) { 1.7 - tmp = xmalloc(sizeof(*tmp)); 1.8 + tmp = xmalloc(struct resource_list); 1.9 if (!tmp) 1.10 panic("pdev_sort_resources(): " 1.11 - "xmalloc() failed!\n"); 1.12 + "malloc() failed!\n"); 1.13 tmp->next = ln; 1.14 tmp->res = r; 1.15 tmp->dev = dev;