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

MIPS: MT: Remove norps command line parameter

The "norps" kernel command line parameter has apparently been deprecated
ever since it was added to the kernel back in 2006 - all it does is
print a message telling the user to use something else.

Remove the long dead "norps" parameter.

Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/21244/
Cc: linux-mips@linux-mips.org

-11
-11
arch/mips/kernel/mips-mt.c
··· 119 119 local_irq_restore(flags); 120 120 } 121 121 122 - static int mt_opt_norps; 123 122 static int mt_opt_rpsctl = -1; 124 123 static int mt_opt_nblsu = -1; 125 124 static int mt_opt_forceconfig7; 126 125 static int mt_opt_config7 = -1; 127 - 128 - static int __init rps_disable(char *s) 129 - { 130 - mt_opt_norps = 1; 131 - return 1; 132 - } 133 - __setup("norps", rps_disable); 134 126 135 127 static int __init rpsctl_set(char *str) 136 128 { ··· 161 169 unsigned int oconfig7 = read_c0_config7(); 162 170 unsigned int nconfig7 = oconfig7; 163 171 164 - if (mt_opt_norps) { 165 - printk("\"norps\" option deprecated: use \"rpsctl=\"\n"); 166 - } 167 172 if (mt_opt_rpsctl >= 0) { 168 173 printk("34K return prediction stack override set to %d.\n", 169 174 mt_opt_rpsctl);