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
11c6bd3e
Commit
11c6bd3e
authored
Feb 15, 2003
by
Paul Mackerras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PPC32: declare pm_power_off
parent
886a51ce
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
arch/ppc/kernel/ppc_ksyms.c
arch/ppc/kernel/ppc_ksyms.c
+3
-2
arch/ppc/kernel/setup.c
arch/ppc/kernel/setup.c
+2
-0
No files found.
arch/ppc/kernel/ppc_ksyms.c
View file @
11c6bd3e
...
...
@@ -14,6 +14,7 @@
#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/ide.h>
#include <linux/pm.h>
#include <asm/page.h>
#include <asm/semaphore.h>
...
...
@@ -69,8 +70,6 @@ long long __ashldi3(long long, int);
long
long
__lshrdi3
(
long
long
,
int
);
int
abs
(
int
);
extern
unsigned
char
__res
[];
extern
unsigned
long
mm_ptov
(
unsigned
long
paddr
);
EXPORT_SYMBOL
(
clear_page
);
...
...
@@ -270,6 +269,8 @@ EXPORT_SYMBOL(pmac_xpram_write);
#endif
/* CONFIG_NVRAM */
EXPORT_SYMBOL
(
to_tm
);
EXPORT_SYMBOL
(
pm_power_off
);
EXPORT_SYMBOL_NOVERS
(
__ashrdi3
);
EXPORT_SYMBOL_NOVERS
(
__ashldi3
);
EXPORT_SYMBOL_NOVERS
(
__lshrdi3
);
...
...
arch/ppc/kernel/setup.c
View file @
11c6bd3e
...
...
@@ -129,6 +129,8 @@ void machine_halt(void)
ppc_md
.
halt
();
}
void
(
*
pm_power_off
)(
void
)
=
machine_power_off
;
#ifdef CONFIG_TAU
extern
u32
cpu_temp
(
unsigned
long
cpu
);
extern
u32
cpu_temp_both
(
unsigned
long
cpu
);
...
...
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