Merge branch 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 cleanups from Ingo Molnar: "Misc cleanups" * 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/rtc: Remove duplicate const specifier x86, early_serial_console: Remove unnecessary check x86, early_serial_console: Remove unused macro XMTRDY x86, setup: Rename BOOT_ISDIGIT_H to BOOT_CTYPE_H x86, CPU: Fix trivial printk formatting issues with dmesg
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
#ifndef BOOT_ISDIGIT_H
|
||||
|
||||
#define BOOT_ISDIGIT_H
|
||||
#ifndef BOOT_CTYPE_H
|
||||
#define BOOT_CTYPE_H
|
||||
|
||||
static inline int isdigit(int ch)
|
||||
{
|
||||
|
@@ -2,8 +2,6 @@
|
||||
|
||||
#define DEFAULT_SERIAL_PORT 0x3f8 /* ttyS0 */
|
||||
|
||||
#define XMTRDY 0x20
|
||||
|
||||
#define DLAB 0x80
|
||||
|
||||
#define TXR 0 /* Transmit register (WRITE) */
|
||||
@@ -74,8 +72,8 @@ static void parse_earlyprintk(void)
|
||||
static const int bases[] = { 0x3f8, 0x2f8 };
|
||||
int idx = 0;
|
||||
|
||||
if (!strncmp(arg + pos, "ttyS", 4))
|
||||
pos += 4;
|
||||
/* += strlen("ttyS"); */
|
||||
pos += 4;
|
||||
|
||||
if (arg[pos++] == '1')
|
||||
idx = 1;
|
||||
|
Reference in New Issue
Block a user