From mboxrd@z Thu Jan 1 00:00:00 1970 From: pebolle@tiscali.nl (Paul Bolle) Date: Wed, 07 Jan 2015 20:02:44 +0100 Subject: realmode _WAKEUP In-Reply-To: References: <1420649650.438.8.camel@x220> Message-ID: <1420657364.24143.23.camel@x220> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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