Commit:     49d687b636c1f7e9a14faab7bd654f9fb88ecd11
Parent:     31e92e0a1f40ecbef415cd99dc886b14963dc594
Author:     Stephen Rothwell <[EMAIL PROTECTED]>
AuthorDate: Thu May 10 02:19:51 2007 +1000
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Thu May 10 21:28:13 2007 +1000

    [POWERPC] pmu_sys_suspended is only defined for PPC32
    thus we get a link error on ppc64 with CONFIG_PM=y.  This fixes it.
    Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
 include/linux/pmu.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/pmu.h b/include/linux/pmu.h
index 37ca573..5ad913f 100644
--- 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 */
-#ifdef CONFIG_PM
+#if defined(CONFIG_PM) && defined(CONFIG_PPC32)
 extern int pmu_sys_suspended;
 /* if power management is not configured it can't be suspended */
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to