Re: [linux-rt-devel:for-kbuild-bot/prepare-release 32/256] warning: (DEBUG_ATOMIC_SLEEP) selects PREEMPT_COUNT which has unmet direct dependencies (COLDFIRE)

From: Sebastian Andrzej Siewior
Date: Wed Jan 13 2016 - 05:27:57 EST


* kbuild test robot | 2015-12-24 09:57:43 [+0800]:

>All warnings (new ones prefixed by >>):
>
>warning: (DEBUG_ATOMIC_SLEEP) selects PREEMPT_COUNT which has unmet direct dependencies (COLDFIRE)

The situation slightly changed. Before the patch in question:
|warning: (PREEMPT && DEBUG_ATOMIC_SLEEP) selects PREEMPT_COUNT which has unmet direct dependencies (COLDFIRE)

so it is just s@PREEMPT@PREEMPT_COUNT@.

This pops up because DEBUG_ATOMIC_SLEEP can be selected while
kernel/Kconfig.preempt has not been included into Kconfig. This warning
is not limited to m68k but should also pop up on alpha / frv and hexagon.
Those architectures don't include kernel/Kconfig.preempt at all.

Is this something that should be fixed?

Sebastian