OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[uclinux-h8/linux.git]
/
arch
/
x86
/
kernel
/
early_printk.c
diff --git
a/arch/x86/kernel/early_printk.c
b/arch/x86/kernel/early_printk.c
index
89427d8
..
eec40f5
100644
(file)
--- a/
arch/x86/kernel/early_printk.c
+++ b/
arch/x86/kernel/early_printk.c
@@
-175,7
+175,9
@@
static __init void early_serial_init(char *s)
}
if (*s) {
- if (kstrtoul(s, 0, &baud) < 0 || baud == 0)
+ baud = simple_strtoull(s, &e, 0);
+
+ if (baud == 0 || s == e)
baud = DEFAULT_BAUD;
}