LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* arch/x86/kernel/acpi/sleep_32.c not compiled ?
@ 2008-02-19 15:59 Thomas Petazzoni
2008-02-19 21:02 ` Rafael J. Wysocki
0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2008-02-19 15:59 UTC (permalink / raw)
To: tglx, mingo, hpa; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 693 bytes --]
Hi,
Maybe I'm missing something completely obvious, but I don't see where
the arch/x86/kernel/acpi/sleep_32.c file gets compiled. The Makefile in
that directory compiles sleep.o, but doesn't compile sleep_$(BITS).o:
obj-$(CONFIG_ACPI) += boot.o
obj-$(CONFIG_ACPI_SLEEP) += sleep.o wakeup_$(BITS).o
ifneq ($(CONFIG_ACPI_PROCESSOR),)
obj-y += cstate.o processor.o
endif
Sincerly,
Thomas
--
Thomas Petazzoni, thomas.petazzoni@enix.org, http://thomas.enix.org
Jabber, thomas.petazzoni@jabber.dk
Toulibre, http://www.toulibre.org - APRIL, http://www.april.org
Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E 1624 F653 CB30 98D3 F7A7
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: arch/x86/kernel/acpi/sleep_32.c not compiled ?
2008-02-19 15:59 arch/x86/kernel/acpi/sleep_32.c not compiled ? Thomas Petazzoni
@ 2008-02-19 21:02 ` Rafael J. Wysocki
2008-02-19 22:26 ` Pavel Machek
0 siblings, 1 reply; 5+ messages in thread
From: Rafael J. Wysocki @ 2008-02-19 21:02 UTC (permalink / raw)
To: Thomas Petazzoni; +Cc: tglx, mingo, hpa, linux-kernel, Pavel Machek, pm list
On Tuesday, 19 of February 2008, Thomas Petazzoni wrote:
> Hi,
Hi,
> Maybe I'm missing something completely obvious, but I don't see where
> the arch/x86/kernel/acpi/sleep_32.c file gets compiled. The Makefile in
> that directory compiles sleep.o, but doesn't compile sleep_$(BITS).o:
>
> obj-$(CONFIG_ACPI) += boot.o
> obj-$(CONFIG_ACPI_SLEEP) += sleep.o wakeup_$(BITS).o
>
> ifneq ($(CONFIG_ACPI_PROCESSOR),)
> obj-y += cstate.o processor.o
> endif
No, the file is not build now.
Pavel, is this file really necessary?
Rafael
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: arch/x86/kernel/acpi/sleep_32.c not compiled ?
2008-02-19 21:02 ` Rafael J. Wysocki
@ 2008-02-19 22:26 ` Pavel Machek
2008-02-19 23:41 ` Rafael J. Wysocki
0 siblings, 1 reply; 5+ messages in thread
From: Pavel Machek @ 2008-02-19 22:26 UTC (permalink / raw)
To: Rafael J. Wysocki
Cc: Thomas Petazzoni, tglx, mingo, hpa, linux-kernel, pm list
On Tue 2008-02-19 22:02:52, Rafael J. Wysocki wrote:
> On Tuesday, 19 of February 2008, Thomas Petazzoni wrote:
> > Hi,
>
> Hi,
>
> > Maybe I'm missing something completely obvious, but I don't see where
> > the arch/x86/kernel/acpi/sleep_32.c file gets compiled. The Makefile in
> > that directory compiles sleep.o, but doesn't compile sleep_$(BITS).o:
> >
> > obj-$(CONFIG_ACPI) += boot.o
> > obj-$(CONFIG_ACPI_SLEEP) += sleep.o wakeup_$(BITS).o
> >
> > ifneq ($(CONFIG_ACPI_PROCESSOR),)
> > obj-y += cstate.o processor.o
> > endif
>
> No, the file is not build now.
>
> Pavel, is this file really necessary?
sleep_32.c is obsolete. It tried to do s2ram whitelist in kernel, with
just one entry ;-). Remove it. If Mirek Spousta (probably last
remaining owner of whitelisted toshiba, he got it from me ;-)
complains, I'll give him better machine or something.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: arch/x86/kernel/acpi/sleep_32.c not compiled ?
2008-02-19 22:26 ` Pavel Machek
@ 2008-02-19 23:41 ` Rafael J. Wysocki
2008-02-19 23:44 ` Pavel Machek
0 siblings, 1 reply; 5+ messages in thread
From: Rafael J. Wysocki @ 2008-02-19 23:41 UTC (permalink / raw)
To: Pavel Machek; +Cc: Thomas Petazzoni, tglx, mingo, hpa, linux-kernel, pm list
On Tuesday, 19 of February 2008, Pavel Machek wrote:
> On Tue 2008-02-19 22:02:52, Rafael J. Wysocki wrote:
> > On Tuesday, 19 of February 2008, Thomas Petazzoni wrote:
> > > Hi,
> >
> > Hi,
> >
> > > Maybe I'm missing something completely obvious, but I don't see where
> > > the arch/x86/kernel/acpi/sleep_32.c file gets compiled. The Makefile in
> > > that directory compiles sleep.o, but doesn't compile sleep_$(BITS).o:
> > >
> > > obj-$(CONFIG_ACPI) += boot.o
> > > obj-$(CONFIG_ACPI_SLEEP) += sleep.o wakeup_$(BITS).o
> > >
> > > ifneq ($(CONFIG_ACPI_PROCESSOR),)
> > > obj-y += cstate.o processor.o
> > > endif
> >
> > No, the file is not build now.
> >
> > Pavel, is this file really necessary?
>
> sleep_32.c is obsolete. It tried to do s2ram whitelist in kernel, with
> just one entry ;-). Remove it. If Mirek Spousta (probably last
> remaining owner of whitelisted toshiba, he got it from me ;-)
> complains, I'll give him better machine or something.
Well, then perhaps we also should remove the S1 quirk for the same box from
drivers/acpi/sleep/main.c ?
Alternatively, put them both into the same file and simplify things (in which
case I'd vote for drivers/acpi/sleep/main.c)?
Rafael
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: arch/x86/kernel/acpi/sleep_32.c not compiled ?
2008-02-19 23:41 ` Rafael J. Wysocki
@ 2008-02-19 23:44 ` Pavel Machek
0 siblings, 0 replies; 5+ messages in thread
From: Pavel Machek @ 2008-02-19 23:44 UTC (permalink / raw)
To: Rafael J. Wysocki
Cc: Thomas Petazzoni, tglx, mingo, hpa, linux-kernel, pm list
On Wed 2008-02-20 00:41:46, Rafael J. Wysocki wrote:
> On Tuesday, 19 of February 2008, Pavel Machek wrote:
> > On Tue 2008-02-19 22:02:52, Rafael J. Wysocki wrote:
> > > On Tuesday, 19 of February 2008, Thomas Petazzoni wrote:
> > > > Hi,
> > >
> > > Hi,
> > >
> > > > Maybe I'm missing something completely obvious, but I don't see where
> > > > the arch/x86/kernel/acpi/sleep_32.c file gets compiled. The Makefile in
> > > > that directory compiles sleep.o, but doesn't compile sleep_$(BITS).o:
> > > >
> > > > obj-$(CONFIG_ACPI) += boot.o
> > > > obj-$(CONFIG_ACPI_SLEEP) += sleep.o wakeup_$(BITS).o
> > > >
> > > > ifneq ($(CONFIG_ACPI_PROCESSOR),)
> > > > obj-y += cstate.o processor.o
> > > > endif
> > >
> > > No, the file is not build now.
> > >
> > > Pavel, is this file really necessary?
> >
> > sleep_32.c is obsolete. It tried to do s2ram whitelist in kernel, with
> > just one entry ;-). Remove it. If Mirek Spousta (probably last
> > remaining owner of whitelisted toshiba, he got it from me ;-)
> > complains, I'll give him better machine or something.
>
> Well, then perhaps we also should remove the S1 quirk for the same box from
> drivers/acpi/sleep/main.c ?
Yes we probably can do that.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-02-19 23:44 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-19 15:59 arch/x86/kernel/acpi/sleep_32.c not compiled ? Thomas Petazzoni
2008-02-19 21:02 ` Rafael J. Wysocki
2008-02-19 22:26 ` Pavel Machek
2008-02-19 23:41 ` Rafael J. Wysocki
2008-02-19 23:44 ` Pavel Machek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).