]> git.karo-electronics.de Git - linux-beck.git/commitdiff
s390/uaccess: remove dead kernel parameter 'user_mode='
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 27 Jan 2014 09:09:11 +0000 (10:09 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 21 Feb 2014 07:50:16 +0000 (08:50 +0100)
Remove another leftover from the time when we supported running
user space in either home or primary address space.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/setup.c

index 91ea00955db79a74d012d131c94135a575b11d16..f70f2489fa5fe241fd107596d2879d0fe331f7bc 100644 (file)
@@ -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)