Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
57075741
Commit
57075741
authored
Oct 31, 2002
by
Alan Cox
Committed by
Linus Torvalds
Oct 31, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] add voyager specific extra key map
parent
9849f0b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
drivers/char/sysrq.c
drivers/char/sysrq.c
+16
-0
No files found.
drivers/char/sysrq.c
View file @
57075741
...
...
@@ -35,6 +35,10 @@
#include <asm/ptrace.h>
#ifdef CONFIG_VOYAGER
#include <asm/voyager.h>
#endif
extern
void
reset_vc
(
unsigned
int
);
extern
struct
list_head
super_blocks
;
...
...
@@ -319,6 +323,14 @@ static struct sysrq_key_op sysrq_term_op = {
action_msg:
"Terminate All Tasks"
,
};
#ifdef CONFIG_VOYAGER
static
struct
sysrq_key_op
sysrq_voyager_dump_op
=
{
handler:
voyager_dump
,
help_msg:
"voyager"
,
action_msg:
"Dump Voyager Status
\n
"
,
};
#endif
static
void
sysrq_handle_kill
(
int
key
,
struct
pt_regs
*
pt_regs
,
struct
tty_struct
*
tty
)
{
...
...
@@ -352,7 +364,11 @@ static struct sysrq_key_op *sysrq_key_table[SYSRQ_KEY_TABLE_LENGTH] = {
it is handled specially on the sparc
and will never arrive */
/* b */
&
sysrq_reboot_op
,
#ifdef CONFIG_VOYAGER
/* c */
&
sysrq_voyager_dump_op
,
#else
/* c */
NULL
,
#endif
/* d */
NULL
,
/* e */
&
sysrq_term_op
,
/* f */
NULL
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment