* Christoph Hellwig wrote: > > > s390 doesn't need it at all because it doesn't have the concept of hardirqs. > > > > > > At least arm{,26}, m68k{,nommu} and parisc and sparc{,64} use extremly > > > different models for irq handling > > > > it could be a bit like nommu - a noirq model. > > > > i agree with enabling an architecture to exclude _all_ of hardirq.c, but > > specifying per-function is excessive - if an architecture can make use > > of some of them then weak symbols will get rid of the rest. > > I never wanted to exclude individual functions. But when you look at > arch/*/kernel/irq.c I don't see a reason for doing it at all. It > makes sense to make this an all or nothing switch. ok, agreed. New patch attached. An architecture has to set GENERIC_HARDIRQS in Kconfig to get it compiled by default. x86 does this for now. Ingo