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
Kirill Smelkov
linux
Commits
7475d10b
Commit
7475d10b
authored
Jul 23, 2002
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SPARC64: Remove some cli/sti usage.
parent
41fc2c33
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
89 additions
and
76 deletions
+89
-76
arch/sparc64/kernel/irq.c
arch/sparc64/kernel/irq.c
+89
-66
arch/sparc64/kernel/process.c
arch/sparc64/kernel/process.c
+0
-10
No files found.
arch/sparc64/kernel/irq.c
View file @
7475d10b
This diff is collapsed.
Click to expand it.
arch/sparc64/kernel/process.c
View file @
7475d10b
...
@@ -129,9 +129,6 @@ extern void (*prom_keyboard)(void);
...
@@ -129,9 +129,6 @@ extern void (*prom_keyboard)(void);
void
machine_halt
(
void
)
void
machine_halt
(
void
)
{
{
sti
();
mdelay
(
8
);
cli
();
#ifdef CONFIG_SUN_CONSOLE
#ifdef CONFIG_SUN_CONSOLE
if
(
!
serial_console
&&
prom_palette
)
if
(
!
serial_console
&&
prom_palette
)
prom_palette
(
1
);
prom_palette
(
1
);
...
@@ -144,9 +141,6 @@ void machine_halt(void)
...
@@ -144,9 +141,6 @@ void machine_halt(void)
void
machine_alt_power_off
(
void
)
void
machine_alt_power_off
(
void
)
{
{
sti
();
mdelay
(
8
);
cli
();
#ifdef CONFIG_SUN_CONSOLE
#ifdef CONFIG_SUN_CONSOLE
if
(
!
serial_console
&&
prom_palette
)
if
(
!
serial_console
&&
prom_palette
)
prom_palette
(
1
);
prom_palette
(
1
);
...
@@ -161,10 +155,6 @@ void machine_restart(char * cmd)
...
@@ -161,10 +155,6 @@ void machine_restart(char * cmd)
{
{
char
*
p
;
char
*
p
;
sti
();
mdelay
(
8
);
cli
();
p
=
strchr
(
reboot_command
,
'\n'
);
p
=
strchr
(
reboot_command
,
'\n'
);
if
(
p
)
*
p
=
0
;
if
(
p
)
*
p
=
0
;
#ifdef CONFIG_SUN_CONSOLE
#ifdef CONFIG_SUN_CONSOLE
...
...
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