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

Re: Fix symbol exporting on linux 2.6.15 (git)



> Hello folks,
>
> I did a trivial patch  to solve a symbol exporting of
> __flush_icache_range. I identified the issue when tried to use new MOL
> packages with this specific kernel version but it claimed by this
> missed symbol.
>
> Please check and if possible, send it upstream.
>
> ------------ cut here --------------
> Export symbol need to allow MOL to run. This was change to be inline
> in past and forgot to be change here.
>
> ---
> commit 4dc2e1c686e223e5d6aec644c1896249ddf2ff62
> tree 8520c059a19f52f76bffe1bfdd29284d0486cccf
> parent 0b8608d6d00e0b81653d10718b8ff069bb03f034
> author Otavio Salvador <otavio@debian.org> Mon, 28 Nov 2005 09:18:52
> -0200
> committer Otavio Salvador <otavio@debian.org> Mon, 28 Nov 2005
> 09:18:52 -0200
>
>  arch/ppc/kernel/ppc_ksyms.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/ppc/kernel/ppc_ksyms.c b/arch/ppc/kernel/ppc_ksyms.c
> --- a/arch/ppc/kernel/ppc_ksyms.c
> +++ b/arch/ppc/kernel/ppc_ksyms.c
> @@ -184,7 +184,7 @@ EXPORT_SYMBOL(kernel_thread);
>
>  EXPORT_SYMBOL(flush_instruction_cache);
>  EXPORT_SYMBOL(giveup_fpu);
> -EXPORT_SYMBOL(flush_icache_range);
> +EXPORT_SYMBOL(__flush_icache_range);

Why not just add __flush_icache_range without deleting the other one?
Other modules might need it.

	Michael



Reply to: