Skip to content

Commit 1f446f9

Browse files
committedFeb 28, 2014
Fix merge fallout
Fix issues introduced in the latest merge. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
1 parent f0094ff commit 1f446f9

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed
 

Diff for: ‎arch/lm32/mm/init.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ void __init mem_init(void)
109109
{
110110
high_memory = (void *)__va(max_low_pfn * PAGE_SIZE);
111111

112-
max_mapnr = num_physpages = max_low_pfn;
112+
max_mapnr = max_low_pfn;
113113

114114
totalram_pages = free_all_bootmem();
115115

Diff for: ‎arch/lm32/platforms/milkymist/early_printk.c

+4-6
Original file line numberDiff line numberDiff line change
@@ -67,20 +67,18 @@ static void __init early_console_write(struct console *con, const char *s,
6767
}
6868
}
6969

70-
static struct console early_console __initdata = {
70+
static struct console early_console_dev __initdata = {
7171
.name = "early",
7272
.write = early_console_write,
7373
.flags = CON_PRINTBUFFER | CON_BOOT,
7474
.index = -1
7575
};
7676

77-
static bool early_console_initialized __initdata;
78-
7977
void __init milkymist_setup_early_printk(void)
8078
{
81-
if (early_console_initialized)
79+
if (early_console)
8280
return;
83-
early_console_initialized = true;
8481

85-
register_console(&early_console);
82+
early_console = &early_console_dev;
83+
register_console(&early_console_dev);
8684
}

Diff for: ‎include/linux/syscalls.h

+2-4
Original file line numberDiff line numberDiff line change
@@ -801,18 +801,16 @@ asmlinkage long sys_vfork(void);
801801
#ifdef CONFIG_CLONE_BACKWARDS
802802
asmlinkage long sys_clone(unsigned long, unsigned long, int __user *, int,
803803
int __user *);
804-
#elif defined(CONFIG_CLONE_BACKWARDS3)
804+
#elif defined(CONFIG_CLONE_BACKWARDS4)
805805
asmlinkage long sys_clone(unsigned int, unsigned long, unsigned long, int __user *,
806806
int __user *, int);
807-
#else
808-
#ifdef CONFIG_CLONE_BACKWARDS3
807+
#elif defined(CONFIG_CLONE_BACKWARDS3)
809808
asmlinkage long sys_clone(unsigned long, unsigned long, int, int __user *,
810809
int __user *, int);
811810
#else
812811
asmlinkage long sys_clone(unsigned long, unsigned long, int __user *,
813812
int __user *, int);
814813
#endif
815-
#endif
816814

817815
asmlinkage long sys_execve(const char __user *filename,
818816
const char __user *const __user *argv,

0 commit comments

Comments
 (0)
Please sign in to comment.