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

Prarit Bhargava
2005-12-13T18:26:00Z

Bjorn Helgaas wrote:

>
> Well, sure. device_setup() was just an example. I expect they'd
> want to add more (subsys, etc). I doubt that all the levels would
> be needed, but even if they were, I'd prefer it over sprinkling
> "ia64_platform_is" everywhere.
>

OTOH the moment they change the initcall sequence we would
have to change our machine vector interfaces. And AFAICT no
one is happy with the 7 levels of init (everything from too
granular to not granular enough).

I'm inclined to move the direction that Tony suggests:

Tony Luck wrote:
> Running two separate parallel structures seems complex.
> Why not make the entries in the .initcall sections be tuples
> instead of just being an array:
>

I think this seems a lot more sane than what I suggested.

I'll code something up and try to see if I can dig up a PPC
system to test on as well.

P.