On Thu, Oct 12, 2006 at 01:19:45PM -0600, Khalid Aziz wrote:
> 2.6.18 kernel patched with kexec/kdump patch from Tony's test tree fails
> to compile if CONFIG_KEXEC is turned on but CONFIG_CRASH_DUMP is not.
> Following patch fixes this.
> 
> Signed-off-by: Khalid Aziz <[EMAIL PROTECTED]>

That looks fine to me.

Acked: Simon Horman <[EMAIL PROTECTED]>

> -----
> --- linux-2.6.18.orig/arch/ia64/kernel/crash.c        2006-10-11 
> 10:23:11.000000000 -0600
> +++ linux-2.6.18/arch/ia64/kernel/crash.c     2006-10-11 10:16:36.000000000 
> -0600
> @@ -219,9 +219,13 @@
>               .notifier_call = kdump_init_notifier,
>       };
>       int ret;
> +#ifdef CONFIG_PROC_VMCORE
>       if (from)
>               elfcorehdr_addr = memparse(from+11, &from);
> +#endif
> +#ifdef CONFIG_CRASH_DUMP
>       saved_max_pfn = (unsigned long)-1;
> +#endif
>       if((ret = register_die_notifier(&kdump_init_notifier_nb)) != 0)
>               return ret;
>  #ifdef CONFIG_SYSCTL
> --- linux-2.6.18.orig/arch/ia64/kernel/smp.c  2006-10-11 10:23:11.000000000 
> -0600
> +++ linux-2.6.18/arch/ia64/kernel/smp.c       2006-10-11 10:42:51.000000000 
> -0600
> @@ -247,7 +247,7 @@
>       send_IPI_single(smp_processor_id(), op);
>  }
>  
> -#ifdef CONFIG_CRASH_DUMP
> +#ifdef CONFIG_KEXEC
>  void
>  kdump_smp_send_stop(void)
>  {
> 
> 
> _______________________________________________
> fastboot mailing list
> [email protected]
> https://lists.osdl.org/mailman/listinfo/fastboot

-- 
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/

_______________________________________________
fastboot mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/fastboot

Reply via email to