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

From: Luck, Tony <tony.luck_at_intel.com>
Date: 2005-12-10 05:38:16
> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Sat Dec 10 05:39:56 2005

This archive was generated by hypermail 2.1.8 : 2005-12-10 05:40:04 EST