Skip to contentSkip to conversation

ARM: tegra: Fix build error for gic update

PATCH Applied Hiroshi Doyu 3 participants 5 messages Feb 4, 2013 – Feb 5, 2013

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ARM: tegra: Fix build error for gic update

Fix build error in board-dt-tegra114.c(next-20130204)

---
 arch/arm/mach-tegra/board-dt-tegra114.c |    2 --
 1 file changed, 2 deletions(-)
arch/arm/mach-tegra/board-dt-tegra114.c +0 -2
index 3ed17ce..72598e2 100644
@@ -19,7 +19,6 @@
 #include <linux/clocksource.h>
 
 #include <asm/mach/arch.h>
-#include <asm/hardware/gic.h>
 
 #include "board.h"
 #include "common.h"
@@ -39,7 +38,6 @@ DT_MACHINE_START(TEGRA114_DT, "NVIDIA Tegra114 (Flattened Device Tree)")
 	.map_io		= tegra_map_common_io,
 	.init_early	= tegra30_init_early,
 	.init_irq	= tegra_dt_init_irq,
-	.handle_irq	= gic_handle_irq,
 	.init_time	= clocksource_of_init,
 	.init_machine	= tegra114_dt_init,
 	.init_late	= tegra_init_late,
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 2/2 regmap: Fix build error next-20130204

In function 'regmap_async_complete_cb':
1656:3: error: 'TASK_NORMAL' undeclared (first use in this function) In function 'regmap_async_complete':
1688:2: error: 'TASK_UNINTERRUPTIBLE' undeclared (first use in this function)

---
 drivers/base/regmap/regmap.c |    2 ++
 1 file changed, 2 insertions(+)
drivers/base/regmap/regmap.c +2 -0
index bee8560..49ec460 100644
@@ -16,6 +16,8 @@
 #include <linux/mutex.h>
 #include <linux/err.h>
 #include <linux/rbtree.h>
+#include <linux/sched.h>
+#include <linux/wait.h>
 
 #define CREATE_TRACE_POINTS
 #include <trace/events/regmap.h>
Signature · 1 line
1.7.9.5
#2 lore raw
In reply to Hiroshi Doyu
Quoted 1 line · Hiroshi Doyu

Fix build error in board-dt-tegra114.c(next-20130204)

Hiroshi, which tree should this patch be applied to? I assume it needs to go through arm-soc since that's where the Tegra and GIC patches meet?

#3 lore raw

Stephen Warren <[email protected]> wrote @ Mon, 4 Feb 2013 18:01:15 +0100:

Quoted 5 lines · Hiroshi Doyu
Quoted 1 line

Fix build error in board-dt-tegra114.c(next-20130204)

Hiroshi, which tree should this patch be applied to? I assume it needs to go through arm-soc since that's where the Tegra and GIC patches meet?

"arm-soc" would be the place. Can you take care of this?