lkml.org 
[lkml]   [2012]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2012-03-23 10:11    [W:0.219 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site