RE: [PATCH]: Prevent sn2 ptc code from executing on all ia64 subarches

Luck, Tony
2005-12-09T18:38:16Z

> What if we added wrappers to the existing initcall functions to accept another
> argument?
>
> Instead of subsys_initcall(fn) we would do
>
> subarch_subsys_initcall (fn, arch) and this wrapper would do a platform check of
> the machine vector info?

That looks like a plausible direction to investigate. Does anyone know
whether any other architectures have a similar problem that can be solved
in this way? Or is ia64 the only one with a "generic" kernel that has to
work on such a diverse spread of machines?

Prarit: when you get further with this you'll need to post to linux-kernel
as well as linux-ia64 since this will touch generic code.

-Tony