[PATCH 11/12] powerpc: Add arch-dependant copy_oldmem_page

Dave Hansen haveblue at us.ibm.com
Tue Nov 8 00:17:26 EST 2005


On Tue, 2005-11-08 at 00:07 +1100, Michael Ellerman wrote:
> 
> --- kexec.orig/include/asm-powerpc/kexec.h
> +++ kexec/include/asm-powerpc/kexec.h
> @@ -30,6 +30,8 @@
>  #define KEXEC_ARCH KEXEC_ARCH_PPC
>  #endif
>  
> +#define HAVE_ARCH_COPY_OLDMEM_PAGE
> +
>  #ifndef __ASSEMBLY__

Isn't something like that more properly done in Kconfig?  I find it very
hard to trace down exactly what CONFIG options it takes to get some of
those #defines to happen.  Kconfig makes it much more clear.

-- Dave




More information about the Linuxppc64-dev mailing list