Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: 96f0e6fcc9ad ("microblaze: remove redundant early_printk support")
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Stefan Asserhall <stefan.asserhall@xilinx.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>

+1 -6
+1 -6
arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c
··· 22 22 23 23 #define CI(c, p) { ci->c = PVR_##p(pvr); } 24 24 25 - #if defined(CONFIG_EARLY_PRINTK) && defined(CONFIG_SERIAL_UARTLITE_CONSOLE) 26 25 #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"); 32 27 33 28 void set_cpuinfo_pvr_full(struct cpuinfo *ci, struct device_node *cpu) 34 29 {