diff options
| author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:50:19 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:50:19 -0400 |
| commit | df6d3916f3b7b7e2067567a256dd4f0c1ea854a2 (patch) | |
| tree | 0fdeab1ab5d566605fc99aeb5ea3f621f11e7608 /include/linux | |
| parent | 74add80cbd7fe246c893b93ee75ac59acdd01dd4 (diff) | |
| parent | 197686dfe0038fd190326d118b743ff65ad20c0e (diff) | |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
* 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: (77 commits)
[POWERPC] Abolish powerpc_flash_init()
[POWERPC] Early serial debug support for PPC44x
[POWERPC] Support for the Ebony 440GP reference board in arch/powerpc
[POWERPC] Add device tree for Ebony
[POWERPC] Add powerpc/platforms/44x, disable platforms/4xx for now
[POWERPC] MPIC U3/U4 MSI backend
[POWERPC] MPIC MSI allocator
[POWERPC] Enable MSI mappings for MPIC
[POWERPC] Tell Phyp we support MSI
[POWERPC] RTAS MSI implementation
[POWERPC] PowerPC MSI infrastructure
[POWERPC] Rip out the existing powerpc msi stubs
[POWERPC] Remove use of 4level-fixup.h for ppc32
[POWERPC] Add powerpc PCI-E reset API implementation
[POWERPC] Holly bootwrapper
[POWERPC] Holly DTS
[POWERPC] Holly defconfig
[POWERPC] Add support for 750CL Holly board
[POWERPC] Generalize tsi108 PCI setup
[POWERPC] Generalize tsi108 PHY types
...
Fixed conflict in include/asm-powerpc/kdebug.h manually
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/pmu.h | 8 | ||||
| -rw-r--r-- | include/linux/suspend.h | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/include/linux/pmu.h b/include/linux/pmu.h index b0952e532ed5..37ca57392add 100644 --- a/include/linux/pmu.h +++ b/include/linux/pmu.h | |||
| @@ -225,4 +225,12 @@ extern unsigned int pmu_power_flags; | |||
| 225 | /* Backlight */ | 225 | /* Backlight */ |
| 226 | extern void pmu_backlight_init(void); | 226 | extern void pmu_backlight_init(void); |
| 227 | 227 | ||
| 228 | /* some code needs to know if the PMU was suspended for hibernation */ | ||
| 229 | #ifdef CONFIG_PM | ||
| 230 | extern int pmu_sys_suspended; | ||
| 231 | #else | ||
| 232 | /* if power management is not configured it can't be suspended */ | ||
| 233 | #define pmu_sys_suspended 0 | ||
| 234 | #endif | ||
| 235 | |||
| 228 | #endif /* __KERNEL__ */ | 236 | #endif /* __KERNEL__ */ |
diff --git a/include/linux/suspend.h b/include/linux/suspend.h index 96868be9c211..9d2aa1a12aa0 100644 --- a/include/linux/suspend.h +++ b/include/linux/suspend.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | #ifndef _LINUX_SWSUSP_H | 1 | #ifndef _LINUX_SWSUSP_H |
| 2 | #define _LINUX_SWSUSP_H | 2 | #define _LINUX_SWSUSP_H |
| 3 | 3 | ||
| 4 | #if defined(CONFIG_X86) || defined(CONFIG_FRV) || defined(CONFIG_PPC32) | 4 | #if defined(CONFIG_X86) || defined(CONFIG_FRV) || defined(CONFIG_PPC32) || defined(CONFIG_PPC64) |
| 5 | #include <asm/suspend.h> | 5 | #include <asm/suspend.h> |
| 6 | #endif | 6 | #endif |
| 7 | #include <linux/swap.h> | 7 | #include <linux/swap.h> |
