Re: [-mm patch] add missing page_copy export for ppc and powerpc (was Re: cachefiles on latest -mm fails to build on powerpc)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Oops, thanks, here's a corrected patch. From a quick look, it seems that
> the ppc needs the same kind of export.
> This adds a missing copy_page export for the powerpc and ppc arches.
this last patch solves the problem
> 
> Signed-off-by: Frederik Deweerdt <[email protected]>
Acked-by: Aristeu S. Rozanski F. <[email protected]>

> diff --git a/arch/powerpc/kernel/ppc_ksyms.c b/arch/powerpc/kernel/ppc_ksyms.c
> index 39d3bfc..23ccd5d 100644
> --- a/arch/powerpc/kernel/ppc_ksyms.c
> +++ b/arch/powerpc/kernel/ppc_ksyms.c
> @@ -93,6 +93,12 @@ EXPORT_SYMBOL(__strncpy_from_user);
>  EXPORT_SYMBOL(__strnlen_user);
>  
>  #ifndef  __powerpc64__
> +EXPORT_SYMBOL(copy_page);
> +#else
> +EXPORT_SYMBOL(copy_4K_page);
> +#endif
> +
> +#ifndef  __powerpc64__
>  EXPORT_SYMBOL(__ide_mm_insl);
>  EXPORT_SYMBOL(__ide_mm_outsw);
>  EXPORT_SYMBOL(__ide_mm_insw);
> diff --git a/arch/ppc/kernel/ppc_ksyms.c b/arch/ppc/kernel/ppc_ksyms.c
> index d173540..3045cc3 100644
> --- a/arch/ppc/kernel/ppc_ksyms.c
> +++ b/arch/ppc/kernel/ppc_ksyms.c
> @@ -106,6 +106,8 @@ EXPORT_SYMBOL(__clear_user);
>  EXPORT_SYMBOL(__strncpy_from_user);
>  EXPORT_SYMBOL(__strnlen_user);
>  
> +EXPORT_SYMBOL(copy_page);
> +
>  /*
>  EXPORT_SYMBOL(inb);
>  EXPORT_SYMBOL(inw);
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 

-- 
Aristeu

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux