sparc: Make '-p' boot option meaningful again.
If "-p" is given on the command line, clear the CON_BOOT flag for the initial early boot PROM console. This is necessary to try and see crash messages that occur between the registry of the VT console and the probing of the first framebuffer or serial console. During this time no console messages are emitted because the VT console registry (even if no backend is registered to it) removes the early console if CON_BOOT is set. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Родитель
ddd53bf111
Коммит
11032c17bd
|
@ -137,7 +137,7 @@ static void __init process_switch(char c)
|
||||||
prom_halt();
|
prom_halt();
|
||||||
break;
|
break;
|
||||||
case 'p':
|
case 'p':
|
||||||
/* Just ignore, this behavior is now the default. */
|
prom_early_console.flags &= ~CON_BOOT;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
printk("Unknown boot switch (-%c)\n", c);
|
printk("Unknown boot switch (-%c)\n", c);
|
||||||
|
|
|
@ -106,7 +106,7 @@ static void __init process_switch(char c)
|
||||||
prom_halt();
|
prom_halt();
|
||||||
break;
|
break;
|
||||||
case 'p':
|
case 'p':
|
||||||
/* Just ignore, this behavior is now the default. */
|
prom_early_console.flags &= ~CON_BOOT;
|
||||||
break;
|
break;
|
||||||
case 'P':
|
case 'P':
|
||||||
/* Force UltraSPARC-III P-Cache on. */
|
/* Force UltraSPARC-III P-Cache on. */
|
||||||
|
|
Загрузка…
Ссылка в новой задаче