Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
a7aa92d1
Commit
a7aa92d1
authored
Nov 20, 2007
by
Paul Mundt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sh: Kill off
SH-5
enter_deep_standby() cruft.
Signed-off-by:
Paul Mundt
<
lethal@linux-sh.org
>
parent
b4db3aec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
arch/sh/kernel/process_64.c
arch/sh/kernel/process_64.c
+14
-2
No files found.
arch/sh/kernel/process_64.c
View file @
a7aa92d1
...
@@ -27,6 +27,7 @@
...
@@ -27,6 +27,7 @@
#include <linux/init.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/module.h>
#include <linux/proc_fs.h>
#include <linux/proc_fs.h>
#include <linux/io.h>
#include <asm/uaccess.h>
#include <asm/uaccess.h>
#include <asm/pgtable.h>
#include <asm/pgtable.h>
...
@@ -106,9 +107,20 @@ void machine_halt(void)
...
@@ -106,9 +107,20 @@ void machine_halt(void)
void
machine_power_off
(
void
)
void
machine_power_off
(
void
)
{
{
extern
void
enter_deep_standby
(
void
);
#if 0
/* Disable watchdog timer */
ctrl_outl(0xa5000000, WTCSR);
/* Configure deep standby on sleep */
ctrl_outl(0x03, STBCR);
#endif
__asm__
__volatile__
(
"sleep
\n\t
"
"synci
\n\t
"
"nop;nop;nop;nop
\n\t
"
);
enter_deep_standby
(
);
panic
(
"Unexpected wakeup!
\n
"
);
}
}
void
(
*
pm_power_off
)(
void
)
=
machine_power_off
;
void
(
*
pm_power_off
)(
void
)
=
machine_power_off
;
...
...
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