s/sempahore/semaphore/ s/exacly/exactly/ s/unregistred/unregistered/ s/interation/iteration/
Showing the changes to kernel (1 of 1 file). Show all
Unified · Split
| @@ -262,7 +262,7 @@ static void __up_console_sem(unsigned long ip) · 261 unmodified lines | |||
| 262 | * definitely not the perfect debug tool (we don't know if _WE_ | 262 | * definitely not the perfect debug tool (we don't know if _WE_ |
| 263 | * hold it and are racing, but it helps tracking those weird code | 263 | * hold it and are racing, but it helps tracking those weird code |
| 264 | * paths in the console code where we end up in places I want | 264 | * paths in the console code where we end up in places I want |
| 265 | * locked without the console sempahore held). | 265 | * locked without the console semaphore held). |
| 266 | */ | 266 | */ |
| 267 | static int console_locked, console_suspended; | 267 | static int console_locked, console_suspended; |
| 268 | 268 | ||
| @@ -2331,7 +2331,7 @@ static int __init console_setup(char *str) · 2062 unmodified lines | |||
| 2331 | /* | 2331 | /* |
| 2332 | * console="" or console=null have been suggested as a way to | 2332 | * console="" or console=null have been suggested as a way to |
| 2333 | * disable console output. Use ttynull that has been created | 2333 | * disable console output. Use ttynull that has been created |
| 2334 | * for exacly this purpose. | 2334 | * for exactly this purpose. |
| 2335 | */ | 2335 | */ |
| 2336 | if (str[0] == 0 || strcmp(str, "null") == 0) { | 2336 | if (str[0] == 0 || strcmp(str, "null") == 0) { |
| 2337 | __add_preferred_console("ttynull", 0, NULL, NULL, true); | 2337 | __add_preferred_console("ttynull", 0, NULL, NULL, true); |
| @@ -3106,7 +3106,7 @@ void __init console_init(void) · 768 unmodified lines | |||
| 3106 | * | 3106 | * |
| 3107 | * To mitigate this problem somewhat, only unregister consoles whose memory | 3107 | * To mitigate this problem somewhat, only unregister consoles whose memory |
| 3108 | * intersects with the init section. Note that all other boot consoles will | 3108 | * intersects with the init section. Note that all other boot consoles will |
| 3109 | * get unregistred when the real preferred console is registered. | 3109 | * get unregistered when the real preferred console is registered. |
| 3110 | */ | 3110 | */ |
| 3111 | static int __init printk_late_init(void) | 3111 | static int __init printk_late_init(void) |
| 3112 | { | 3112 | { |