ia64/xen-unstable

changeset 9676:15a04f998083

[IA64] call setup_xen_feature()

add setup_xen_features() call to setup_arch() in xenLinux/ia64
Now features.c is compiled into xenLinux/ia64 for xen_feature(),
but it is not initialized.
xenLinux/x86 calls xetup_xen_features() from setup_arch().

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author awilliam@xenbuild.aw
date Thu Apr 13 13:40:31 2006 -0600 (2006-04-13)
parents 5cc367720223
children 6755e3ab2eb1
files linux-2.6-xen-sparse/arch/ia64/kernel/setup.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/arch/ia64/kernel/setup.c	Tue Apr 11 18:54:18 2006 -0600
     1.2 +++ b/linux-2.6-xen-sparse/arch/ia64/kernel/setup.c	Thu Apr 13 13:40:31 2006 -0600
     1.3 @@ -409,6 +409,10 @@ void __init
     1.4  setup_arch (char **cmdline_p)
     1.5  {
     1.6  	unw_init();
     1.7 +#ifdef CONFIG_XEN
     1.8 +	if (running_on_xen)
     1.9 +		setup_xen_features();
    1.10 +#endif
    1.11  
    1.12  	ia64_patch_vtop((u64) __start___vtop_patchlist, (u64) __end___vtop_patchlist);
    1.13