* [PATCH] c6x: fix platforms/plldata.c get_coreid build error
@ 2018-01-19 19:19 Randy Dunlap
2018-01-23 23:15 ` Mark Salter
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2018-01-19 19:19 UTC (permalink / raw)
To: LKML
Cc: Ingo Molnar, linux-c6x-dev, Aurelien Jacquiot, Mark Salter,
Fengguang Wu
From: Randy Dunlap <rdunlap@infradead.org>
Fix build error reported by the 0day bot by including the header
file for that macro.
Fixes this build error: (should fix; not tested)
arch/c6x/platforms/plldata.c: In function 'c6472_setup_clocks':
arch/c6x/platforms/plldata.c:279:33: error: implicit declaration of function 'get_coreid'; did you mean 'get_order'? [-Werror=implicit-function-declaration]
c6x_core_clk.parent = &sysclks[get_coreid() + 1];
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Cc: Mark Salter <msalter@redhat.com>
Cc: Aurelien Jacquiot <jacquiot.aurelien@gmail.com>
Cc: linux-c6x-dev@linux-c6x.org
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
arch/c6x/platforms/plldata.c | 1 +
1 file changed, 1 insertion(+)
--- lnx-415-rc8.orig/arch/c6x/platforms/plldata.c
+++ lnx-415-rc8/arch/c6x/platforms/plldata.c
@@ -19,6 +19,7 @@
#include <asm/clock.h>
#include <asm/setup.h>
+#include <asm/special_insns.h>
#include <asm/irq.h>
/*
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] c6x: fix platforms/plldata.c get_coreid build error
2018-01-19 19:19 [PATCH] c6x: fix platforms/plldata.c get_coreid build error Randy Dunlap
@ 2018-01-23 23:15 ` Mark Salter
0 siblings, 0 replies; 2+ messages in thread
From: Mark Salter @ 2018-01-23 23:15 UTC (permalink / raw)
To: Randy Dunlap, LKML
Cc: Ingo Molnar, linux-c6x-dev, Aurelien Jacquiot, Fengguang Wu
On Fri, 2018-01-19 at 11:19 -0800, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@infradead.org>
>
> Fix build error reported by the 0day bot by including the header
> file for that macro.
Thanks. I pulled this into the c6x tree.
>
> Fixes this build error: (should fix; not tested)
> arch/c6x/platforms/plldata.c: In function 'c6472_setup_clocks':
> arch/c6x/platforms/plldata.c:279:33: error: implicit declaration of function 'get_coreid'; did you mean 'get_order'? [-Werror=implicit-function-declaration]
> c6x_core_clk.parent = &sysclks[get_coreid() + 1];
>
> Reported-by: Fengguang Wu <fengguang.wu@intel.com>
> Cc: Mark Salter <msalter@redhat.com>
> Cc: Aurelien Jacquiot <jacquiot.aurelien@gmail.com>
> Cc: linux-c6x-dev@linux-c6x.org
> Cc: Ingo Molnar <mingo@kernel.org>
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> ---
> arch/c6x/platforms/plldata.c | 1 +
> 1 file changed, 1 insertion(+)
>
> --- lnx-415-rc8.orig/arch/c6x/platforms/plldata.c
> +++ lnx-415-rc8/arch/c6x/platforms/plldata.c
> @@ -19,6 +19,7 @@
>
> #include <asm/clock.h>
> #include <asm/setup.h>
> +#include <asm/special_insns.h>
> #include <asm/irq.h>
>
> /*
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-01-23 23:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-19 19:19 [PATCH] c6x: fix platforms/plldata.c get_coreid build error Randy Dunlap
2018-01-23 23:15 ` Mark Salter
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.