Skip to content

Commit cfbd8d1

Browse files
author
Michal Simek
committed
microblaze: Remove early printk setup
Early printk has been removed already that's why this setting doesn't make any sense. Also change printk level from pr_info to pr_err. Fixes: 96f0e6f ("microblaze: remove redundant early_printk support") Signed-off-by: Michal Simek <[email protected]> Reviewed-by: Stefan Asserhall <[email protected]> Reviewed-by: Arnd Bergmann <[email protected]>
1 parent 59d85c0 commit cfbd8d1

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,8 @@
2222

2323
#define CI(c, p) { ci->c = PVR_##p(pvr); }
2424

25-
#if defined(CONFIG_EARLY_PRINTK) && defined(CONFIG_SERIAL_UARTLITE_CONSOLE)
2625
#define err_printk(x) \
27-
early_printk("ERROR: Microblaze " x "-different for PVR and DTS\n");
28-
#else
29-
#define err_printk(x) \
30-
pr_info("ERROR: Microblaze " x "-different for PVR and DTS\n");
31-
#endif
26+
pr_err("ERROR: Microblaze " x "-different for PVR and DTS\n");
3227

3328
void set_cpuinfo_pvr_full(struct cpuinfo *ci, struct device_node *cpu)
3429
{

0 commit comments

Comments
 (0)