Skip to content

Commit f33fda2

Browse files
committed
Merge tag 'microblaze-v6.10' of git://git.monstr.eu/linux-2.6-microblaze
Pull microblaze updates from Michal Simek: - Cleanup code around removed early_printk * tag 'microblaze-v6.10' of git://git.monstr.eu/linux-2.6-microblaze: microblaze: Remove early printk call from cpuinfo-static.c microblaze: Remove gcc flag for non existing early_printk.c file
2 parents 0e22bed + 58d6475 commit f33fda2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

arch/microblaze/kernel/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ ifdef CONFIG_FUNCTION_TRACER
77
# Do not trace early boot code and low level code
88
CFLAGS_REMOVE_timer.o = -pg
99
CFLAGS_REMOVE_intc.o = -pg
10-
CFLAGS_REMOVE_early_printk.o = -pg
1110
CFLAGS_REMOVE_ftrace.o = -pg
1211
CFLAGS_REMOVE_process.o = -pg
1312
endif

arch/microblaze/kernel/cpu/cpuinfo-static.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ static const char family_string[] = CONFIG_XILINX_MICROBLAZE0_FAMILY;
1818
static const char cpu_ver_string[] = CONFIG_XILINX_MICROBLAZE0_HW_VER;
1919

2020
#define err_printk(x) \
21-
early_printk("ERROR: Microblaze " x "-different for kernel and DTS\n");
21+
pr_err("ERROR: Microblaze " x "-different for kernel and DTS\n");
2222

2323
void __init set_cpuinfo_static(struct cpuinfo *ci, struct device_node *cpu)
2424
{

0 commit comments

Comments
 (0)