From: Heiko Carstens Date: Mon, 27 Jan 2014 09:09:11 +0000 (+0100) Subject: s390/uaccess: remove dead kernel parameter 'user_mode=' X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7385d0a550813c912094c5df22aeeb463712300e;p=linux-beck.git s390/uaccess: remove dead kernel parameter 'user_mode=' Remove another leftover from the time when we supported running user space in either home or primary address space. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/kernel/setup.c b/arch/s390/kernel/setup.c index 91ea00955db7..f70f2489fa5f 100644 --- a/arch/s390/kernel/setup.c +++ b/arch/s390/kernel/setup.c @@ -287,14 +287,6 @@ static int __init parse_vmalloc(char *arg) } early_param("vmalloc", parse_vmalloc); -static int __init early_parse_user_mode(char *p) -{ - if (!p || strcmp(p, "primary") == 0) - return 0; - return 1; -} -early_param("user_mode", early_parse_user_mode); - void *restart_stack __attribute__((__section__(".data"))); static void __init setup_lowcore(void)