Re: [PATCH] Compile handle_percpu_irq even for uniprocessor kernels

2007-09-27 Thread Thomas Gleixner
On Thu, 2007-09-27 at 12:24 +0100, Ralf Baechle wrote: > Compiling handle_percpu_irq only on uniprocessor generates an artificial > special case so a typical use like: > > set_irq_chip_and_handler(irq, &some_irq_type, handle_percpu_irq); > > needs to be conditionally compiled only on SMP syste

[PATCH] Compile handle_percpu_irq even for uniprocessor kernels

2007-09-27 Thread Ralf Baechle
Compiling handle_percpu_irq only on uniprocessor generates an artificial special case so a typical use like: set_irq_chip_and_handler(irq, &some_irq_type, handle_percpu_irq); needs to be conditionally compiled only on SMP systems as well and an alternative UP construct is usually needed - for n