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
755312de
Commit
755312de
authored
May 02, 2002
by
Tom Rini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix building of CONFIG_XMON && !CONFIG_MAGIC_SYSRQ
parent
25c988d9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
arch/ppc/xmon/start.c
arch/ppc/xmon/start.c
+4
-0
No files found.
arch/ppc/xmon/start.c
View file @
755312de
...
@@ -95,6 +95,7 @@ static unsigned long chrp_find_phys_io_base(void)
...
@@ -95,6 +95,7 @@ static unsigned long chrp_find_phys_io_base(void)
}
}
#endif
/* CONFIG_ALL_PPC */
#endif
/* CONFIG_ALL_PPC */
#ifdef CONFIG_MAGIC_SYSRQ
static
void
sysrq_handle_xmon
(
int
key
,
struct
pt_regs
*
regs
,
static
void
sysrq_handle_xmon
(
int
key
,
struct
pt_regs
*
regs
,
struct
kbd_struct
*
kbd
,
struct
tty_struct
*
tty
)
struct
kbd_struct
*
kbd
,
struct
tty_struct
*
tty
)
{
{
...
@@ -107,6 +108,7 @@ static struct sysrq_key_op sysrq_xmon_op =
...
@@ -107,6 +108,7 @@ static struct sysrq_key_op sysrq_xmon_op =
help_msg:
"Xmon"
,
help_msg:
"Xmon"
,
action_msg:
"Entering xmon
\n
"
,
action_msg:
"Entering xmon
\n
"
,
};
};
#endif
void
void
xmon_map_scc
(
void
)
xmon_map_scc
(
void
)
...
@@ -218,7 +220,9 @@ xmon_map_scc(void)
...
@@ -218,7 +220,9 @@ xmon_map_scc(void)
DLAB
=
0x80
;
DLAB
=
0x80
;
#endif
/* platform */
#endif
/* platform */
#ifdef CONFIG_MAGIC_SYSRQ
__sysrq_put_key_op
(
'x'
,
&
sysrq_xmon_op
);
__sysrq_put_key_op
(
'x'
,
&
sysrq_xmon_op
);
#endif
}
}
static
int
scc_initialized
=
0
;
static
int
scc_initialized
=
0
;
...
...
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