diff mbox

plat-iop: fix build error

Message ID 1308312232-30488-1-git-send-email-linus.walleij@stericsson.com (mailing list archive)
State New, archived
Headers show

Commit Message

Linus Walleij June 17, 2011, 12:03 p.m. UTC
From: Linus Walleij <linus.walleij@linaro.org>

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

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 arch/arm/plat-iop/cp6.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Comments

Arnaud Patard (Rtp) June 17, 2011, 3:10 p.m. UTC | #1
Linus Walleij <linus.walleij@stericsson.com> writes:

Hi,

> From: Linus Walleij <linus.walleij@linaro.org>
>
> 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.

Arnaud
Linus Walleij June 18, 2011, 8:55 a.m. UTC | #2
2011/6/17 Arnaud Patard <arnaud.patard@rtp-net.org>:

>> From: Linus Walleij <linus.walleij@linaro.org>
>>
>> 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
diff mbox

Patch

diff --git a/arch/arm/plat-iop/cp6.c b/arch/arm/plat-iop/cp6.c
index 9612a87..bab73e2 100644
--- a/arch/arm/plat-iop/cp6.c
+++ b/arch/arm/plat-iop/cp6.c
@@ -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)
 {