forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 748e4f3d702def1a4bff191e0cf93b6a05340f01
kernel/arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c
....@@ -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 {