diff options
-rw-r--r-- | drivers/tty/sysrq.c | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/drivers/tty/sysrq.c b/drivers/tty/sysrq.c index 3687f0cad642..0a0de333c765 100644 --- a/drivers/tty/sysrq.c +++ b/drivers/tty/sysrq.c | |||
@@ -101,7 +101,7 @@ static void sysrq_handle_SAK(int key) | |||
101 | } | 101 | } |
102 | static struct sysrq_key_op sysrq_SAK_op = { | 102 | static struct sysrq_key_op sysrq_SAK_op = { |
103 | .handler = sysrq_handle_SAK, | 103 | .handler = sysrq_handle_SAK, |
104 | .help_msg = "saK", | 104 | .help_msg = "sak(k)", |
105 | .action_msg = "SAK", | 105 | .action_msg = "SAK", |
106 | .enable_mask = SYSRQ_ENABLE_KEYBOARD, | 106 | .enable_mask = SYSRQ_ENABLE_KEYBOARD, |
107 | }; | 107 | }; |
@@ -117,7 +117,7 @@ static void sysrq_handle_unraw(int key) | |||
117 | 117 | ||
118 | static struct sysrq_key_op sysrq_unraw_op = { | 118 | static struct sysrq_key_op sysrq_unraw_op = { |
119 | .handler = sysrq_handle_unraw, | 119 | .handler = sysrq_handle_unraw, |
120 | .help_msg = "unRaw", | 120 | .help_msg = "unraw(r)", |
121 | .action_msg = "Keyboard mode set to system default", | 121 | .action_msg = "Keyboard mode set to system default", |
122 | .enable_mask = SYSRQ_ENABLE_KEYBOARD, | 122 | .enable_mask = SYSRQ_ENABLE_KEYBOARD, |
123 | }; | 123 | }; |
@@ -135,7 +135,7 @@ static void sysrq_handle_crash(int key) | |||
135 | } | 135 | } |
136 | static struct sysrq_key_op sysrq_crash_op = { | 136 | static struct sysrq_key_op sysrq_crash_op = { |
137 | .handler = sysrq_handle_crash, | 137 | .handler = sysrq_handle_crash, |
138 | .help_msg = "Crash", | 138 | .help_msg = "crash(c)", |
139 | .action_msg = "Trigger a crash", | 139 | .action_msg = "Trigger a crash", |
140 | .enable_mask = SYSRQ_ENABLE_DUMP, | 140 | .enable_mask = SYSRQ_ENABLE_DUMP, |
141 | }; | 141 | }; |
@@ -148,7 +148,7 @@ static void sysrq_handle_reboot(int key) | |||
148 | } | 148 | } |
149 | static struct sysrq_key_op sysrq_reboot_op = { | 149 | static struct sysrq_key_op sysrq_reboot_op = { |
150 | .handler = sysrq_handle_reboot, | 150 | .handler = sysrq_handle_reboot, |
151 | .help_msg = "reBoot", | 151 | .help_msg = "reboot(b)", |
152 | .action_msg = "Resetting", | 152 | .action_msg = "Resetting", |
153 | .enable_mask = SYSRQ_ENABLE_BOOT, | 153 | .enable_mask = SYSRQ_ENABLE_BOOT, |
154 | }; | 154 | }; |
@@ -159,7 +159,7 @@ static void sysrq_handle_sync(int key) | |||
159 | } | 159 | } |
160 | static struct sysrq_key_op sysrq_sync_op = { | 160 | static struct sysrq_key_op sysrq_sync_op = { |
161 | .handler = sysrq_handle_sync, | 161 | .handler = sysrq_handle_sync, |
162 | .help_msg = "Sync", | 162 | .help_msg = "sync(s)", |
163 | .action_msg = "Emergency Sync", | 163 | .action_msg = "Emergency Sync", |
164 | .enable_mask = SYSRQ_ENABLE_SYNC, | 164 | .enable_mask = SYSRQ_ENABLE_SYNC, |
165 | }; | 165 | }; |
@@ -171,7 +171,7 @@ static void sysrq_handle_show_timers(int key) | |||
171 | 171 | ||
172 | static struct sysrq_key_op sysrq_show_timers_op = { | 172 | static struct sysrq_key_op sysrq_show_timers_op = { |
173 | .handler = sysrq_handle_show_timers, | 173 | .handler = sysrq_handle_show_timers, |
174 | .help_msg = "show-all-timers(Q)", | 174 | .help_msg = "show-all-timers(q)", |
175 | .action_msg = "Show clockevent devices & pending hrtimers (no others)", | 175 | .action_msg = "Show clockevent devices & pending hrtimers (no others)", |
176 | }; | 176 | }; |
177 | 177 | ||
@@ -181,7 +181,7 @@ static void sysrq_handle_mountro(int key) | |||
181 | } | 181 | } |
182 | static struct sysrq_key_op sysrq_mountro_op = { | 182 | static struct sysrq_key_op sysrq_mountro_op = { |
183 | .handler = sysrq_handle_mountro, | 183 | .handler = sysrq_handle_mountro, |
184 | .help_msg = "Unmount", | 184 | .help_msg = "unmount(u)", |
185 | .action_msg = "Emergency Remount R/O", | 185 | .action_msg = "Emergency Remount R/O", |
186 | .enable_mask = SYSRQ_ENABLE_REMOUNT, | 186 | .enable_mask = SYSRQ_ENABLE_REMOUNT, |
187 | }; | 187 | }; |
@@ -194,7 +194,7 @@ static void sysrq_handle_showlocks(int key) | |||
194 | 194 | ||
195 | static struct sysrq_key_op sysrq_showlocks_op = { | 195 | static struct sysrq_key_op sysrq_showlocks_op = { |
196 | .handler = sysrq_handle_showlocks, | 196 | .handler = sysrq_handle_showlocks, |
197 | .help_msg = "show-all-locks(D)", | 197 | .help_msg = "show-all-locks(d)", |
198 | .action_msg = "Show Locks Held", | 198 | .action_msg = "Show Locks Held", |
199 | }; | 199 | }; |
200 | #else | 200 | #else |
@@ -245,7 +245,7 @@ static void sysrq_handle_showallcpus(int key) | |||
245 | 245 | ||
246 | static struct sysrq_key_op sysrq_showallcpus_op = { | 246 | static struct sysrq_key_op sysrq_showallcpus_op = { |
247 | .handler = sysrq_handle_showallcpus, | 247 | .handler = sysrq_handle_showallcpus, |
248 | .help_msg = "show-backtrace-all-active-cpus(L)", | 248 | .help_msg = "show-backtrace-all-active-cpus(l)", |
249 | .action_msg = "Show backtrace of all active CPUs", | 249 | .action_msg = "Show backtrace of all active CPUs", |
250 | .enable_mask = SYSRQ_ENABLE_DUMP, | 250 | .enable_mask = SYSRQ_ENABLE_DUMP, |
251 | }; | 251 | }; |
@@ -260,7 +260,7 @@ static void sysrq_handle_showregs(int key) | |||
260 | } | 260 | } |
261 | static struct sysrq_key_op sysrq_showregs_op = { | 261 | static struct sysrq_key_op sysrq_showregs_op = { |
262 | .handler = sysrq_handle_showregs, | 262 | .handler = sysrq_handle_showregs, |
263 | .help_msg = "show-registers(P)", | 263 | .help_msg = "show-registers(p)", |
264 | .action_msg = "Show Regs", | 264 | .action_msg = "Show Regs", |
265 | .enable_mask = SYSRQ_ENABLE_DUMP, | 265 | .enable_mask = SYSRQ_ENABLE_DUMP, |
266 | }; | 266 | }; |
@@ -271,7 +271,7 @@ static void sysrq_handle_showstate(int key) | |||
271 | } | 271 | } |
272 | static struct sysrq_key_op sysrq_showstate_op = { | 272 | static struct sysrq_key_op sysrq_showstate_op = { |
273 | .handler = sysrq_handle_showstate, | 273 | .handler = sysrq_handle_showstate, |
274 | .help_msg = "show-task-states(T)", | 274 | .help_msg = "show-task-states(t)", |
275 | .action_msg = "Show State", | 275 | .action_msg = "Show State", |
276 | .enable_mask = SYSRQ_ENABLE_DUMP, | 276 | .enable_mask = SYSRQ_ENABLE_DUMP, |
277 | }; | 277 | }; |
@@ -282,7 +282,7 @@ static void sysrq_handle_showstate_blocked(int key) | |||
282 | } | 282 | } |
283 | static struct sysrq_key_op sysrq_showstate_blocked_op = { | 283 | static struct sysrq_key_op sysrq_showstate_blocked_op = { |
284 | .handler = sysrq_handle_showstate_blocked, | 284 | .handler = sysrq_handle_showstate_blocked, |
285 | .help_msg = "show-blocked-tasks(W)", | 285 | .help_msg = "show-blocked-tasks(w)", |
286 | .action_msg = "Show Blocked State", | 286 | .action_msg = "Show Blocked State", |
287 | .enable_mask = SYSRQ_ENABLE_DUMP, | 287 | .enable_mask = SYSRQ_ENABLE_DUMP, |
288 | }; | 288 | }; |
@@ -296,7 +296,7 @@ static void sysrq_ftrace_dump(int key) | |||
296 | } | 296 | } |
297 | static struct sysrq_key_op sysrq_ftrace_dump_op = { | 297 | static struct sysrq_key_op sysrq_ftrace_dump_op = { |
298 | .handler = sysrq_ftrace_dump, | 298 | .handler = sysrq_ftrace_dump, |
299 | .help_msg = "dump-ftrace-buffer(Z)", | 299 | .help_msg = "dump-ftrace-buffer(z)", |
300 | .action_msg = "Dump ftrace buffer", | 300 | .action_msg = "Dump ftrace buffer", |
301 | .enable_mask = SYSRQ_ENABLE_DUMP, | 301 | .enable_mask = SYSRQ_ENABLE_DUMP, |
302 | }; | 302 | }; |
@@ -310,7 +310,7 @@ static void sysrq_handle_showmem(int key) | |||
310 | } | 310 | } |
311 | static struct sysrq_key_op sysrq_showmem_op = { | 311 | static struct sysrq_key_op sysrq_showmem_op = { |
312 | .handler = sysrq_handle_showmem, | 312 | .handler = sysrq_handle_showmem, |
313 | .help_msg = "show-memory-usage(M)", | 313 | .help_msg = "show-memory-usage(m)", |
314 | .action_msg = "Show Memory", | 314 | .action_msg = "Show Memory", |
315 | .enable_mask = SYSRQ_ENABLE_DUMP, | 315 | .enable_mask = SYSRQ_ENABLE_DUMP, |
316 | }; | 316 | }; |
@@ -341,7 +341,7 @@ static void sysrq_handle_term(int key) | |||
341 | } | 341 | } |
342 | static struct sysrq_key_op sysrq_term_op = { | 342 | static struct sysrq_key_op sysrq_term_op = { |
343 | .handler = sysrq_handle_term, | 343 | .handler = sysrq_handle_term, |
344 | .help_msg = "terminate-all-tasks(E)", | 344 | .help_msg = "terminate-all-tasks(e)", |
345 | .action_msg = "Terminate All Tasks", | 345 | .action_msg = "Terminate All Tasks", |
346 | .enable_mask = SYSRQ_ENABLE_SIGNAL, | 346 | .enable_mask = SYSRQ_ENABLE_SIGNAL, |
347 | }; | 347 | }; |
@@ -360,7 +360,7 @@ static void sysrq_handle_moom(int key) | |||
360 | } | 360 | } |
361 | static struct sysrq_key_op sysrq_moom_op = { | 361 | static struct sysrq_key_op sysrq_moom_op = { |
362 | .handler = sysrq_handle_moom, | 362 | .handler = sysrq_handle_moom, |
363 | .help_msg = "memory-full-oom-kill(F)", | 363 | .help_msg = "memory-full-oom-kill(f)", |
364 | .action_msg = "Manual OOM execution", | 364 | .action_msg = "Manual OOM execution", |
365 | .enable_mask = SYSRQ_ENABLE_SIGNAL, | 365 | .enable_mask = SYSRQ_ENABLE_SIGNAL, |
366 | }; | 366 | }; |
@@ -372,7 +372,7 @@ static void sysrq_handle_thaw(int key) | |||
372 | } | 372 | } |
373 | static struct sysrq_key_op sysrq_thaw_op = { | 373 | static struct sysrq_key_op sysrq_thaw_op = { |
374 | .handler = sysrq_handle_thaw, | 374 | .handler = sysrq_handle_thaw, |
375 | .help_msg = "thaw-filesystems(J)", | 375 | .help_msg = "thaw-filesystems(j)", |
376 | .action_msg = "Emergency Thaw of all frozen filesystems", | 376 | .action_msg = "Emergency Thaw of all frozen filesystems", |
377 | .enable_mask = SYSRQ_ENABLE_SIGNAL, | 377 | .enable_mask = SYSRQ_ENABLE_SIGNAL, |
378 | }; | 378 | }; |
@@ -385,7 +385,7 @@ static void sysrq_handle_kill(int key) | |||
385 | } | 385 | } |
386 | static struct sysrq_key_op sysrq_kill_op = { | 386 | static struct sysrq_key_op sysrq_kill_op = { |
387 | .handler = sysrq_handle_kill, | 387 | .handler = sysrq_handle_kill, |
388 | .help_msg = "kill-all-tasks(I)", | 388 | .help_msg = "kill-all-tasks(i)", |
389 | .action_msg = "Kill All Tasks", | 389 | .action_msg = "Kill All Tasks", |
390 | .enable_mask = SYSRQ_ENABLE_SIGNAL, | 390 | .enable_mask = SYSRQ_ENABLE_SIGNAL, |
391 | }; | 391 | }; |
@@ -396,7 +396,7 @@ static void sysrq_handle_unrt(int key) | |||
396 | } | 396 | } |
397 | static struct sysrq_key_op sysrq_unrt_op = { | 397 | static struct sysrq_key_op sysrq_unrt_op = { |
398 | .handler = sysrq_handle_unrt, | 398 | .handler = sysrq_handle_unrt, |
399 | .help_msg = "nice-all-RT-tasks(N)", | 399 | .help_msg = "nice-all-RT-tasks(n)", |
400 | .action_msg = "Nice All RT Tasks", | 400 | .action_msg = "Nice All RT Tasks", |
401 | .enable_mask = SYSRQ_ENABLE_RTNICE, | 401 | .enable_mask = SYSRQ_ENABLE_RTNICE, |
402 | }; | 402 | }; |