Skip to contentSkip to conversation

plat-iop: fix build error

PATCH New Linus Walleij 3 participants 3 messages Jun 17, 2011 – Jun 18, 2011

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

PATCH 1/1 plat-iop: fix build error

From: Linus Walleij <[email protected]>

The iop13xx_defconfig didn't build since the platform code uses defines from <asm/ptrace.h>. Simply add the include so it compiles.

---
 arch/arm/plat-iop/cp6.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/plat-iop/cp6.c +1 -0
index 9612a87..bab73e2 100644
@@ -18,6 +18,7 @@
  */
 #include <linux/init.h>
 #include <asm/traps.h>
+#include <asm/ptrace.h>
 
 static int cp6_trap(struct pt_regs *regs, unsigned int instr)
 {
Signature · 1 line
1.7.3.2
#2 lore raw

PATCH 1/1 plat-iop: fix build error

2011/6/17 Arnaud Patard <[email protected]>:

Quoted 9 lines
Quoted 5 lines

From: Linus Walleij <[email protected]>

The iop13xx_defconfig didn't build since the platform code uses defines from <asm/ptrace.h>. Simply add the include so it compiles.

fwiw, same patch has been sent some time ago
(http://lists.infradead.org/pipermail/linux-arm-kernel/2011-June/052021.html)
but I don't know if it has been merged.

It hasn't since nobody has submitted it to the ARM maintainer.

I will put my patch into Russells patch tracker so it happens.

Thanks,
Linus Walleij