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
This commit is contained in:
parent
66a4059ba7
commit
f08153186c
@ -119,19 +119,11 @@ void mips_mt_regdump(unsigned long mvpctl)
|
|||||||
local_irq_restore(flags);
|
local_irq_restore(flags);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int mt_opt_norps;
|
|
||||||
static int mt_opt_rpsctl = -1;
|
static int mt_opt_rpsctl = -1;
|
||||||
static int mt_opt_nblsu = -1;
|
static int mt_opt_nblsu = -1;
|
||||||
static int mt_opt_forceconfig7;
|
static int mt_opt_forceconfig7;
|
||||||
static int mt_opt_config7 = -1;
|
static int mt_opt_config7 = -1;
|
||||||
|
|
||||||
static int __init rps_disable(char *s)
|
|
||||||
{
|
|
||||||
mt_opt_norps = 1;
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
__setup("norps", rps_disable);
|
|
||||||
|
|
||||||
static int __init rpsctl_set(char *str)
|
static int __init rpsctl_set(char *str)
|
||||||
{
|
{
|
||||||
get_option(&str, &mt_opt_rpsctl);
|
get_option(&str, &mt_opt_rpsctl);
|
||||||
@ -169,9 +161,6 @@ void mips_mt_set_cpuoptions(void)
|
|||||||
unsigned int oconfig7 = read_c0_config7();
|
unsigned int oconfig7 = read_c0_config7();
|
||||||
unsigned int nconfig7 = oconfig7;
|
unsigned int nconfig7 = oconfig7;
|
||||||
|
|
||||||
if (mt_opt_norps) {
|
|
||||||
printk("\"norps\" option deprecated: use \"rpsctl=\"\n");
|
|
||||||
}
|
|
||||||
if (mt_opt_rpsctl >= 0) {
|
if (mt_opt_rpsctl >= 0) {
|
||||||
printk("34K return prediction stack override set to %d.\n",
|
printk("34K return prediction stack override set to %d.\n",
|
||||||
mt_opt_rpsctl);
|
mt_opt_rpsctl);
|
||||||
|
Loading…
Reference in New Issue
Block a user