2024-04-11 08:22:11

by Michal Simek

[permalink] [raw]
Subject: [PATCH] microblaze: Remove gcc flag for non existing early_printk.c file

early_printk support for removed long time ago but compilation flag for
ftrace still points to already removed file that's why remove that line
too.

Fixes: 96f0e6fcc9ad ("microblaze: remove redundant early_printk support")
Signed-off-by: Michal Simek <[email protected]>
---

arch/microblaze/kernel/Makefile | 1 -
1 file changed, 1 deletion(-)

diff --git a/arch/microblaze/kernel/Makefile b/arch/microblaze/kernel/Makefile
index 4393bee64eaf..85c4d29ef43e 100644
--- a/arch/microblaze/kernel/Makefile
+++ b/arch/microblaze/kernel/Makefile
@@ -7,7 +7,6 @@ ifdef CONFIG_FUNCTION_TRACER
# Do not trace early boot code and low level code
CFLAGS_REMOVE_timer.o = -pg
CFLAGS_REMOVE_intc.o = -pg
-CFLAGS_REMOVE_early_printk.o = -pg
CFLAGS_REMOVE_ftrace.o = -pg
CFLAGS_REMOVE_process.o = -pg
endif
--
2.44.0



2024-04-24 08:27:47

by Michal Simek

[permalink] [raw]
Subject: Re: [PATCH] microblaze: Remove gcc flag for non existing early_printk.c file



On 4/11/24 10:21, Michal Simek wrote:
> early_printk support for removed long time ago but compilation flag for
> ftrace still points to already removed file that's why remove that line
> too.
>
> Fixes: 96f0e6fcc9ad ("microblaze: remove redundant early_printk support")
> Signed-off-by: Michal Simek <[email protected]>
> ---
>
> arch/microblaze/kernel/Makefile | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/microblaze/kernel/Makefile b/arch/microblaze/kernel/Makefile
> index 4393bee64eaf..85c4d29ef43e 100644
> --- a/arch/microblaze/kernel/Makefile
> +++ b/arch/microblaze/kernel/Makefile
> @@ -7,7 +7,6 @@ ifdef CONFIG_FUNCTION_TRACER
> # Do not trace early boot code and low level code
> CFLAGS_REMOVE_timer.o = -pg
> CFLAGS_REMOVE_intc.o = -pg
> -CFLAGS_REMOVE_early_printk.o = -pg
> CFLAGS_REMOVE_ftrace.o = -pg
> CFLAGS_REMOVE_process.o = -pg
> endif

Applied.
M