mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Chris Metcalf <cmetcalf@tilera.com>, "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: kbuild test robot <fengguang.wu@intel.com>, linux-kernel@vger.kernel.org
Subject: Re: kernel/cgroup_freezer.c:151:3: error: 'system_freezing_cnt' undeclared
Date: Thu, 31 Jan 2013 15:14:33 -0800	[thread overview]
Message-ID: <20130131231433.GM6824@mtj.dyndns.org> (raw)
In-Reply-To: <510aa746.fVU8ZdQ2hys/RwjS%fengguang.wu@intel.com>

Hello, guys.

On Fri, Feb 01, 2013 at 01:17:58AM +0800, kbuild test robot wrote:
> tree:   git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux master
> head:   04c2eee5b9dfcb13f3cd07a5537fb8c785f2751a
> commit: a3201227f803ad7fd43180c5195dbe5a2bf998aa freezer: make freezing() test freeze conditions in effect instead of TIF_FREEZE
> date:   1 year, 2 months ago

Heh, this gone goes way back.

> config: make ARCH=tile allyesconfig
> 
> All error/warnings:
> 
>    kernel/cgroup_freezer.c: In function 'freezer_destroy':
> >> kernel/cgroup_freezer.c:151:3: error: 'system_freezing_cnt' undeclared (first use in this function)
>    kernel/cgroup_freezer.c:151:3: note: each undeclared identifier is reported only once for each function it appears in
>    kernel/cgroup_freezer.c: In function 'freezer_fork':
>    kernel/cgroup_freezer.c:209:3: error: implicit declaration of function 'freeze_task'
>    kernel/cgroup_freezer.c: In function 'unfreeze_cgroup':
>    kernel/cgroup_freezer.c:296:3: error: implicit declaration of function '__thaw_task'
>    kernel/cgroup_freezer.c: In function 'freezer_change_state':
> >> kernel/cgroup_freezer.c:315:4: error: 'system_freezing_cnt' undeclared (first use in this function)

So, CONFIG_FREEZER is defbool which is turned on automatically if
CONFIG_CGROUP_FREEZER; however, CONFIG_FREEZER is defined in
Kconfig.freezer which should be included by arch Kconfig file.  tile
doesn't include it (maybe it doesn't want freezer for some reason?).
CONFIG_COGRUP_FREEZER is in init/Kconfig, so allyesconfig enables it
but as CONFIG_FREEZER definition isn't visible, we end up with broken
config CONFIG_CGROUP_FREEZER && !CONFIG_FREEZER.

Maybe we need to move CONFIG_CGROUP_FREEZER to Kconfig.freezer if tile
actually doesn't want freezer?

Thanks.

-- 
tejun

       reply	other threads:[~2013-01-31 23:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <510aa746.fVU8ZdQ2hys/RwjS%fengguang.wu@intel.com>
2013-01-31 23:14 ` Tejun Heo [this message]
2013-02-01  0:46   ` Chris Metcalf
2013-02-01  0:52     ` Tejun Heo
2013-02-01  2:23       ` Chris Metcalf
2013-02-01  2:28         ` Tejun Heo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130131231433.GM6824@mtj.dyndns.org \
    --to=tj@kernel.org \
    --cc=cmetcalf@tilera.com \
    --cc=fengguang.wu@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rjw@sisk.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®