Messages in this thread | | | Date | Fri, 23 Mar 2012 10:08:57 +0100 (CET) | From | Thomas Gleixner <> | Subject | Re: [PATCH] Fix build error with !SMP && !GENERIC_HARDIRQS |
| |
On Fri, 23 Mar 2012, Alexander Shiyan wrote:
> When compile kernel with !SMP && !GENERIC_HARDIRQS we are have > following error: > CC kernel/irq/manage.o > kernel/irq/manage.c:41: error: expected identifier or '(' before 'asm' > > This error appears because header contain other definition for > synchronize_irq in include/linux/hardirq.h. > extern void synchronize_irq(unsigned int irq); > > This patch fix this problem.
Errm, which problem ?
kernel/irq/* is not compiled at all when CONFIG_GENERIC_HARDIRQS=n.
So nothing to fix here.
Thanks,
tglx
| |