Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] uml: add mode=skas0 as a synonym of skas0

Too many people were confused by skas0 and tried using "mode=skas0". And after
all, they are right - accept this.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Paolo 'Blaisorblade' Giarrusso and committed by
Linus Torvalds
9e3d862e 5cd10daa

+11
+11
arch/um/os-Linux/start_up.c
··· 143 143 return 0; 144 144 } 145 145 146 + /* The two __uml_setup would conflict, without this stupid alias. */ 147 + 148 + static int __init mode_skas0_cmd_param(char *str, int* add) 149 + __attribute__((alias("skas0_cmd_param"))); 150 + 146 151 __uml_setup("skas0", skas0_cmd_param, 147 152 "skas0\n" 148 153 " Disables SKAS3 usage, so that SKAS0 is used, unless \n" 149 154 " you specify mode=tt.\n\n"); 155 + 156 + __uml_setup("mode=skas0", mode_skas0_cmd_param, 157 + "mode=skas0\n" 158 + " Disables SKAS3 usage, so that SKAS0 is used, unless you \n" 159 + " specify mode=tt. Note that this was recently added - on \n" 160 + " older kernels you must use simply \"skas0\".\n\n"); 150 161 151 162 static int force_sysemu_disabled = 0; 152 163