[PATCH] export htab value for kexec on non-lpar

Nathan Lynch ntl at pobox.com
Wed Aug 24 23:34:23 EST 2005


> @@ -1086,6 +1093,9 @@ void __init setup_arch(char **cmdline_p)
>  	}
>  
>  	paging_init();
> +#ifdef CONFIG_KEXEC
> +	export_htab_value();
> +#endif
>  	ppc64_boot_msg(0x15, "Setup Done");
>  }
>  
> @@ -1358,3 +1368,39 @@ void cpu_die(void)
>  	if (ppc_md.cpu_die)
>  		ppc_md.cpu_die();
>  }
> +
> +#ifdef CONFIG_KEXEC
> +void export_htab_value()
> +{

Can export_htab_value not be marked __init since it is called only
from setup_arch?



More information about the Linuxppc64-dev mailing list