Hexagon: fix build errors
authorSid Manning <sidneym@codeaurora.org>
Fri, 23 Apr 2021 20:06:58 +0000 (15:06 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 11 Jul 2021 10:53:30 +0000 (12:53 +0200)
commit243f325ecc902c9936d1edb838454f4a4dd75034
treeda075319fe50f77ef18b26d4c978d78e9e8574c2
parent8148665cb7fece4acb899f2e2dbbff7ed0720e1d
Hexagon: fix build errors

commit 788dcee0306e1bdbae1a76d1b3478bb899c5838e upstream.

Fix type-o in ptrace.c.
Add missing include: asm/hexagon_vm.h
Remove superfluous cast.
Replace 'p3_0' with 'preds'.

Signed-off-by: Sid Manning <sidneym@codeaurora.org>
Add -mlong-calls to build flags.
Signed-off-by: Brian Cain <bcain@codeaurora.org>
Tested-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/hexagon/Makefile
arch/hexagon/include/asm/timex.h
arch/hexagon/kernel/ptrace.c