mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stian Jordet <liste@jordet.nu>
To: Willy Tarreau <willy@w.ods.org>
Cc: linux-kernel@vger.kernel.org,
	ACPI Developers <acpi-devel@lists.sourceforge.net>
Subject: Re: [RFC] ACPI power-off on P4 HT
Date: Thu, 26 Feb 2004 14:29:59 +0100	[thread overview]
Message-ID: <1077802199.1503.5.camel@chevrolet.hybel> (raw)
In-Reply-To: <20040226130724.GA3704@alpha.home.local>

tor, 26.02.2004 kl. 14.07 skrev Willy Tarreau:
> On Thu, Feb 26, 2004 at 01:28:49PM +0100, Stian Jordet wrote:
> > Hi Willy,
> > 
> > Do you have a similar patch for 2.6?
> 
> No, but since Marcelo recently told me that acpi_power_off() was the same in
> 2.4 and 2.6, I think it should apply without much difficulties. A dirty gpm
> cut-n-paste in vi should be enough ;-)

Well, I cut-n-paste it into drivers/acpi/sleep/poweroff.c (which must
have been the place it fits in 2.6). Get this compile failures:

drivers/acpi/sleep/poweroff.c: In function `acpi_power_off':
drivers/acpi/sleep/poweroff.c:30: warning: implicit declaration of
function `apicid_to_phys_cpu_present'
drivers/acpi/sleep/poweroff.c:30: error: invalid operands to binary &
drivers/acpi/sleep/poweroff.c:69: warning: implicit declaration of
function `disable_IO_APIC'
make[3]: *** [drivers/acpi/sleep/poweroff.o] Error 1
make[2]: *** [drivers/acpi/sleep] Error 2
make[1]: *** [drivers/acpi] Error 2
make: *** [drivers] Error 2

But I'm sure a patch like yours for 2.6 would have fixed my, since using
a non-smp kernel works everytime :) Anyway, thanks for your efforts,
hope someone will get this fixed soon :)

Best regards,
Stian


  reply	other threads:[~2004-02-26 13:30 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-07  9:10 [BKPATCH] ACPI for 2.4 Len Brown
2004-02-08  8:20 ` Willy Tarreau
2004-02-08  9:08   ` Willy Tarreau
     [not found]     ` <20040214081726.GH29363@alpha.home.local>
     [not found]       ` <1076824106.25344.78.camel@dhcppc4>
2004-02-25  7:00         ` [RFC] ACPI power-off on P4 HT Willy Tarreau
2004-02-25  7:55           ` Len Brown
2004-02-25 16:13             ` Zwane Mwaikambo
2004-02-26  7:56             ` Gregory Finch
2004-02-26 10:57               ` Willy Tarreau
2004-02-26 12:28                 ` Stian Jordet
2004-02-26 13:07                   ` Willy Tarreau
2004-02-26 13:29                     ` Stian Jordet [this message]
2004-02-26 13:16           ` Pavel Machek

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=1077802199.1503.5.camel@chevrolet.hybel \
    --to=liste@jordet.nu \
    --cc=acpi-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=willy@w.ods.org \
    /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®