]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] Fix undefined pmu_sys_suspended compilation error
authorTony Breeds <tony@bakeyournoodle.com>
Tue, 11 Mar 2008 23:48:48 +0000 (10:48 +1100)
committerPaul Mackerras <paulus@samba.org>
Wed, 12 Mar 2008 23:09:27 +0000 (10:09 +1100)
commit2680e18aa18e9f5276db95b78d138cc428349ffd
treecf42b46916b39b02d31d2013b9d57eb38762d574
parent7541ae5358fe525089b4fdf162d08314ab33df08
[POWERPC] Fix undefined pmu_sys_suspended compilation error

pmu_sys_suspended is declared extern when:
defined(CONFIG_PM_SLEEP) && defined(CONFIG_PPC32)
but only defined when:
defined(CONFIG_SUSPEND) && defined(CONFIG_PPC32)
which is wrong.  Let's fix that.

Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
include/linux/pmu.h