ia64/xen-unstable

changeset 38:78d4e45b3ef6

bitkeeper revision 1.7.3.17 (3dfde058LJQEiBfP5-ipTGIAQXF3RQ)

bug fix :)
author lynx@idefix.cl.cam.ac.uk
date Mon Dec 16 14:16:56 2002 +0000 (2002-12-16)
parents ca058ea744a3
children 707952793128
files xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_core.c
line diff
     1.1 --- a/xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_core.c	Mon Dec 16 14:07:18 2002 +0000
     1.2 +++ b/xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_core.c	Mon Dec 16 14:16:56 2002 +0000
     1.3 @@ -209,7 +209,7 @@ static int dom_map_mem(unsigned int dom,
     1.4  
     1.5  		printk(KERN_ALERT "bd240 debug: dom_map: proc %d\n", ((dom_procdata_t *)pd->data)->domain);
     1.6  
     1.7 -        if(((dom_procdata_t *)pd->data)->domain == dom){
     1.8 +        if((pd->mode & S_IFDIR) && ((dom_procdata_t *)pd->data)->domain == dom){
     1.9  
    1.10              /* check if there is already an entry for mem and if so
    1.11               * remove it.