[PATCH 1/4] Ensure that pmu_sys_suspended exists in appropriate configs.

2008-03-11 Thread Tony Breeds
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. Lets fix that. Signed-off-by: Tony Breeds <[EMAIL PROTECTED]> --- include/linux/pmu.h |2 +- 1

Re: [PATCH 1/4] Ensure that pmu_sys_suspended exists in appropriate configs.

2008-03-12 Thread Guido Günther
Hi Tony, On Wed, Mar 12, 2008 at 10:48:48AM +1100, Tony Breeds wrote: > 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. Lets fix that. As I wrote

Re: [PATCH 1/4] Ensure that pmu_sys_suspended exists in appropriate configs.

2008-03-12 Thread Tony Breeds
On Wed, Mar 12, 2008 at 09:38:57AM +0100, Guido Günther wrote: > Hi Tony, > On Wed, Mar 12, 2008 at 10:48:48AM +1100, Tony Breeds wrote: > > pmu_sys_suspended is declared extern when: > > defined(CONFIG_PM_SLEEP) && defined(CONFIG_PPC32) > > but only defined when: > > defined(CONFIG_SUSPEND

Re: [PATCH 1/4] Ensure that pmu_sys_suspended exists in appropriate configs.

2008-03-13 Thread Guido Günther
Hi Tony, On Thu, Mar 13, 2008 at 08:20:05AM +1100, Tony Breeds wrote: [..snip..] > where pmu_sys_suspended is referenced and I'm having difficulty > understanding how CONFIG_HIBERNATION is affecting that. I mangled the filenames and didn't notice that you fixed the header file instead of via-pmu.c