summaryrefslogtreecommitdiff
path: root/arch/openrisc/include/asm/serial.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/openrisc/include/asm/serial.h')
-rw-r--r--arch/openrisc/include/asm/serial.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/openrisc/include/asm/serial.h b/arch/openrisc/include/asm/serial.h
index 270a45241639..cb5932f5447a 100644
--- a/arch/openrisc/include/asm/serial.h
+++ b/arch/openrisc/include/asm/serial.h
@@ -29,7 +29,7 @@
* it needs to be correct to get the early console working.
*/
-#define BASE_BAUD (cpuinfo.clock_frequency/16)
+#define BASE_BAUD (cpuinfo_or1k[smp_processor_id()].clock_frequency/16)
#endif /* __KERNEL__ */