Re: [PATCH 1/2] kallsyms: Allow kernel symbols in L1 to be found in Blackfin architecture

From: Robin Getz
Date: Wed Apr 30 2008 - 09:51:50 EST


On Tue 29 Apr 2008 18:00, Andrew Morton pondered:
> That's a bit grubby. I suppose we could pretend not to have noticed,
> but this really isn't the preferred way of putting arch-specific hooks into
> arch-neutral code.
>
> Nicer might be to add
>
> void __weak arch_is_kernel_text(unsigned long addr)
> {
> return 0;
> }
>
> with a declaration in linux/kallsyms.h and then override
> arch_is_kernel_text() in arch/blackfin/ code.

I will refactor, and send again.

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