From: Dominik Brodowski <linux-JhLEnvuH02M@public.gmane.org>
To: Linus Torvalds <torvalds-Lhe3bsMrZseB+jHODAdFcQ@public.gmane.org>,
"Grover,
Andrew" <andrew.grover-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: [BK PATCH] ACPI Update (resend 1)
Date: Thu, 6 Feb 2003 10:27:18 +0100 [thread overview]
Message-ID: <20030206092718.GA14190@brodo.de> (raw)
In-Reply-To: <F760B14C9561B941B89469F59BA3A84725A162-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
Sorry ...
On Wed, Feb 05, 2003 at 06:42:20PM -0800, Grover, Andrew wrote:
> Dominik, I can come up with a quick fix (put a CONFIG_CPU_FREQ around
> the code block at line 1044 in processor.c) but is there a better way?
No, there's no better way ... even though this code block can only be called
when CONFIG_CPU_FREQ is enabled -- pr->flags.performance is zero otherwise.
> > -----Original Message-----
> > From: Linus Torvalds [mailto:torvalds-Lhe3bsMrZseB+jHODAdFcQ@public.gmane.org]
> >
> > On Wed, 5 Feb 2003, Grover, Andrew wrote:
> > >
> > > bk pull http://linux-acpi.bkbits.net/linux-acpi
> >
> > Hmm..
> >
> > drivers/built-in.o(.text+0x32f93): In function
> > `acpi_processor_apply_limit':
> > : undefined reference to `cpufreq_get_policy'
> >
> > This seems to happen if ACPI is on, but CPUFREQ isn't.. Which
> > is my normal
> > dual P4-HT desktop requirement.
> >
> > Linus
> >
--- linux/drivers/acpi/processor.c.original 2003-02-06 10:13:50.000000000 +0100
+++ linux/drivers/acpi/processor.c 2003-02-06 10:16:55.000000000 +0100
@@ -1041,6 +1041,7 @@
return_VALUE(-ENODEV);
if (pr->flags.performance) {
+#ifdef CONFIG_CPU_FREQ
px = pr->performance_platform_limit;
if (pr->limit.user.px > px)
px = pr->limit.user.px;
@@ -1055,6 +1056,7 @@
}
if (result)
goto end;
+#endif
} else if (pr->performance_platform_limit) {
ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Platform limit event detected. Consider using ACPI P-States CPUfreq driver\n"));
}
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
next prev parent reply other threads:[~2003-02-06 9:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-06 2:42 [BK PATCH] ACPI Update (resend 1) Grover, Andrew
[not found] ` <F760B14C9561B941B89469F59BA3A84725A162-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
2003-02-06 9:27 ` Dominik Brodowski [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-02-06 17:56 Grover, Andrew
2003-02-05 23:17 Grover, Andrew
[not found] ` <F760B14C9561B941B89469F59BA3A84725A161-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
2003-02-06 1:44 ` Linus Torvalds
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=20030206092718.GA14190@brodo.de \
--to=linux-jhlenvuh02m@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=andrew.grover-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
--cc=torvalds-Lhe3bsMrZseB+jHODAdFcQ@public.gmane.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