lkml.org 
[lkml]   [2012]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] irq_work: fix compile failure on tile from missing include
On 12-04-11 12:21 PM, Chris Metcalf wrote:
> Building with IRQ_WORK configured results in
>
> kernel/irq_work.c: In function ‘irq_work_run’:
> kernel/irq_work.c:110: error: implicit declaration of function ‘irqs_disabled’
>
> The appropriate header just needs to be included.
>
> Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>

Hi Chris,

I've got an alpha fix and an itanic fix left wrt. the system.h
fallout to get pulled; I can bundle this system.h fix with those
if you want.

Paul.

> ---
> kernel/irq_work.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/kernel/irq_work.c b/kernel/irq_work.c
> index 0c56d44..1588e3b 100644
> --- a/kernel/irq_work.c
> +++ b/kernel/irq_work.c
> @@ -11,6 +11,7 @@
> #include <linux/irq_work.h>
> #include <linux/percpu.h>
> #include <linux/hardirq.h>
> +#include <linux/irqflags.h>
> #include <asm/processor.h>
>
> /*
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2012-04-12 18:13    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog