projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31e92e0
)
[POWERPC] pmu_sys_suspended is only defined for PPC32
author
Stephen Rothwell
<sfr@canb.auug.org.au>
Wed, 9 May 2007 16:19:51 +0000
(
02:19
+1000)
committer
Paul Mackerras
<paulus@samba.org>
Thu, 10 May 2007 11:28:13 +0000
(21:28 +1000)
thus we get a link error on ppc64 with CONFIG_PM=y. This fixes it.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
include/linux/pmu.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/pmu.h
b/include/linux/pmu.h
index 37ca57392addbfe69f0707d8b493653b4ccaa6ca..5ad913ff02b2c47cc1bf771b64dabaa470f5a975 100644
(file)
--- a/
include/linux/pmu.h
+++ b/
include/linux/pmu.h
@@
-226,7
+226,7
@@
extern unsigned int pmu_power_flags;
extern void pmu_backlight_init(void);
/* some code needs to know if the PMU was suspended for hibernation */
-#if
def CONFIG_PM
+#if
defined(CONFIG_PM) && defined(CONFIG_PPC32)
extern int pmu_sys_suspended;
#else
/* if power management is not configured it can't be suspended */