I don't know if it is "just" for this purpose. Quite on the contrary.
In fact, the fact that NR_IRQS_LEGACY is showing up at all looks like a
real problem.
But that 16 is exactly because those are the (platform-specific) legacy
IRQs.
I'm confused about the above. Where do you see any mention to fixed
(ISA) IRQs in SFI or Moorestown? Jacob tells me they don't exist.
Moorestown hardware certainly exists, although not all the support is
upstream yet.
Either which way, anything which perpetuates NR_IRQS_LEGACY as a
compile-time constant is begging for people to get things wrong, and it
really needs to go away.
-hpa
--