[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1238356551-22685-1-git-send-email-dmitri.vorobiev@movial.com>
Date: Sun, 29 Mar 2009 22:55:51 +0300
From: Dmitri Vorobiev <dmitri.vorobiev@...ial.com>
To: akpm@...ux-foundation.org, torvalds@...ux-foundation.org,
linux-kernel@...r.kernel.org
Cc: Dmitri Vorobiev <dmitri.vorobiev@...ial.com>
Subject: [PATCH 1/1] Add missing includes into include/linux/irq.h
The header file include/linux/irq.h does not include the necessary
headers for all entities it makes use of. This has produced the
following build error on MIPS:
CC arch/mips/mti-malta/malta-int.o
In file included from arch/mips/mti-malta/malta-int.c:25:
include/linux/irq.h: In function 'init_alloc_desc_masks':
include/linux/irq.h:444: error: implicit declaration of function
'cpu_to_node'
include/linux/irq.h:446: error: 'GFP_ATOMIC' undeclared (first use in
this function)
include/linux/irq.h:446: error: (Each undeclared identifier is reported
only once
include/linux/irq.h:446: error: for each function it appears in.)
make[1]: *** [arch/mips/mti-malta/malta-int.o] Error 1
make: *** [arch/mips/mti-malta] Error 2
This patch adds missing includes and fixes the build error above.
Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@...ial.com>
---
include/linux/irq.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/linux/irq.h b/include/linux/irq.h
index 873e4ac..03bfc87 100644
--- a/include/linux/irq.h
+++ b/include/linux/irq.h
@@ -20,6 +20,8 @@
#include <linux/irqreturn.h>
#include <linux/irqnr.h>
#include <linux/errno.h>
+#include <linux/topology.h>
+#include <linux/gfp.h>
#include <asm/irq.h>
#include <asm/ptrace.h>
--
1.5.6.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists