Re: kernel/cgroup_freezer.c:151:3: error: 'system_freezing_cnt' undeclared

From: Chris Metcalf
Date: Thu Jan 31 2013 - 21:23:15 EST


On 1/31/2013 7:52 PM, Tejun Heo wrote:
> Hello, Chris.
>
> On Thu, Jan 31, 2013 at 07:46:09PM -0500, Chris Metcalf wrote:
>> That seems reasonable to me, but I'm happy to experiment with
>> including Kconfig.freezer from the arch/tile/Kconfig if that feels
>> like a better solution.
> AFAICS, there's nothing arch specific about freezer and cgroup_freezer
> could be useful even without powersaving, so maybe give it a shot?

It builds with the following change. Look good to you?

commit 8c9632acfaea4cf6ae064d8291eea989b0df2bcf
Author: Chris Metcalf <cmetcalf@xxxxxxxxxx>
Date: Thu Jan 31 21:21:36 2013 -0500

tile: include kernel/Kconfig.freezer in tile Kconfig

Signed-off-by: Chris Metcalf <cmetcalf@xxxxxxxxxx>

diff --git a/arch/tile/Kconfig b/arch/tile/Kconfig
index 1adb853..d9072ba 100644
--- a/arch/tile/Kconfig
+++ b/arch/tile/Kconfig
@@ -142,6 +142,8 @@ config ARCH_DEFCONFIG

source "init/Kconfig"

+source "kernel/Kconfig.freezer"
+
menu "Tilera-specific configuration"

config NR_CPUS

--
Chris Metcalf, Tilera Corp.
http://www.tilera.com

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/