ia64/xen-unstable

changeset 8904:4f03ac87d31b

[IA64] assign_new_domain0_page

map_new_domain0_page() -> assign_new_domain0_page() for consistency
deleted map_domain_page0() declaration

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author awilliam@xenbuild.aw
date Fri Feb 24 08:23:33 2006 -0700 (2006-02-24)
parents 60aa296ccf4c
children 2a2aaef05d70
files xen/arch/ia64/xen/domain.c
line diff
     1.1 --- a/xen/arch/ia64/xen/domain.c	Thu Feb 23 15:40:18 2006 -0700
     1.2 +++ b/xen/arch/ia64/xen/domain.c	Fri Feb 24 08:23:33 2006 -0700
     1.3 @@ -63,7 +63,6 @@ extern unsigned long running_on_sim;
     1.4  extern int readelfimage_base_and_size(char *, unsigned long,
     1.5  	              unsigned long *, unsigned long *, unsigned long *);
     1.6  
     1.7 -unsigned long map_domain_page0(struct domain *);
     1.8  extern unsigned long dom_fw_setup(struct domain *, char *, int);
     1.9  static void init_switch_stack(struct vcpu *v);
    1.10  
    1.11 @@ -381,11 +380,11 @@ void new_thread(struct vcpu *v,
    1.12  	}
    1.13  }
    1.14  
    1.15 -static struct page * map_new_domain0_page(unsigned long mpaddr)
    1.16 +static struct page * assign_new_domain0_page(unsigned long mpaddr)
    1.17  {
    1.18  	if (mpaddr < dom0_start || mpaddr >= dom0_start + dom0_size) {
    1.19 -		printk("map_new_domain0_page: bad domain0 mpaddr %p!\n",mpaddr);
    1.20 -printk("map_new_domain0_page: start=%p,end=%p!\n",dom0_start,dom0_start+dom0_size);
    1.21 +		printk("assign_new_domain0_page: bad domain0 mpaddr %p!\n",mpaddr);
    1.22 +printk("assign_new_domain0_page: start=%p,end=%p!\n",dom0_start,dom0_start+dom0_size);
    1.23  		while(1);
    1.24  	}
    1.25  	return mfn_to_page((mpaddr >> PAGE_SHIFT));
    1.26 @@ -422,7 +421,7 @@ extern unsigned long vhpt_paddr, vhpt_pe
    1.27  	pte = pte_offset_map(pmd, mpaddr);
    1.28  	if (pte_none(*pte)) {
    1.29  #ifdef CONFIG_DOMAIN0_CONTIGUOUS
    1.30 -		if (d == dom0) p = map_new_domain0_page(mpaddr);
    1.31 +		if (d == dom0) p = assign_new_domain0_page(mpaddr);
    1.32  		else
    1.33  #endif
    1.34  		{