[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.0.999.0708031459090.8184@woody.linux-foundation.org>
Date: Fri, 3 Aug 2007 15:01:44 -0700 (PDT)
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: "Rafael J. Wysocki" <rjw@...k.pl>
cc: Andrew Morton <akpm@...ux-foundation.org>,
Len Brown <lenb@...nel.org>,
LKML <linux-kernel@...r.kernel.org>, Pavel Machek <pavel@....cz>,
pm list <linux-pm@...ts.linux-foundation.org>,
Adrian Bunk <bunk@...sta.de>
Subject: Re: [PATCH] PM: Fix dependencies of CONFIG_SUSPEND and
CONFIG_HIBERNATION
On Fri, 3 Aug 2007, Rafael J. Wysocki wrote:
> depends on PM
> - depends on !SMP || SUSPEND_SMP_POSSIBLE
> + depends on SUSPEND_SMP_POSSIBLE || ((BLACKFIN || MIPS || SUPERH || FRV \
> + || (PPC32 && PPC_MPC52xx)) && !SMP)
Please, do that as SUSPEND_UP_POSSIBLE, and make it look like
config SUSPEND_UP_POSSIBLE
depends on BLACKFIN || MIPS || SUPERH || FRV || ((PPC32 && PPC_MPC52xx)
depends on !SMP
default y
and now you can write the above thing as
depends on SUSPEND_SMP_POSSIBLE || SUSPEND_UP_POSSIBLE
and it's all much nicer.
I would say that doing a similar setup for HIBERNATE would be nice too,
but the SUSPEND case is more noticeable because the SMP case is so nice
already.
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists