realmode _WAKEUP

Paul Bolle pebolle at
Wed Jan 7 14:02:44 EST 2015

On Thu, 2015-01-08 at 00:02 +0600, Alexander Kuleshov wrote:
> As i understood correctly we compile wakeup-objs only if
> CONFIG_ACPI_SLEEP is 'y', but than why we pass -D_WAKEUP everytime,
> even CONFIG_ACPI_SLEEP is not y?

I really don't know whether wakeup-objs is compiled only for the 'y'
case. Did you test this with both 'm' and 'y'? But, anyhow, suppose
that's correct: who cares if a preprocessor macro is always defined but
not always used? What's the problem?

Paul Bolle

More information about the Kernelnewbies mailing list