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

Michal Simek posted 1 patch 1 year, 10 months ago
arch/microblaze/kernel/Makefile | 1 -
1 file changed, 1 deletion(-)
[PATCH] microblaze: Remove gcc flag for non existing early_printk.c file
Posted by Michal Simek 1 year, 10 months ago
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 <michal.simek@amd.com>
---

 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
Re: [PATCH] microblaze: Remove gcc flag for non existing early_printk.c file
Posted by Michal Simek 1 year, 9 months ago

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 <michal.simek@amd.com>
> ---
> 
>   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