All of lore.kernel.org
 help / color / mirror / Atom feed
* + acpi-dont-load-acpi_cpufreq-if-acpi=off.patch added to -mm tree
@ 2008-10-02 23:25 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2008-10-02 23:25 UTC (permalink / raw)
  To: mm-commits; +Cc: yhlu.kernel, lenb


The patch titled
     acpi: don't load acpi_cpufreq if acpi=off
has been added to the -mm tree.  Its filename is
     acpi-dont-load-acpi_cpufreq-if-acpi=off.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://userweb.kernel.org/~akpm/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: acpi: don't load acpi_cpufreq if acpi=off
From: Yinghai Lu <yhlu.kernel@gmail.com>

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Cc: Len Brown <lenb@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c |    3 +++
 1 file changed, 3 insertions(+)

diff -puN arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c~acpi-dont-load-acpi_cpufreq-if-acpi=off arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
--- a/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c~acpi-dont-load-acpi_cpufreq-if-acpi=off
+++ a/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
@@ -780,6 +780,9 @@ static int __init acpi_cpufreq_init(void
 {
 	int ret;
 
+	if (acpi_disabled)
+		return 0;
+
 	dprintk("acpi_cpufreq_init\n");
 
 	ret = acpi_cpufreq_early_init();
_

Patches currently in -mm which might be from yhlu.kernel@gmail.com are

git-x86.patch
git-timers-fix-printk-errors-clean-up.patch
git-pci.patch
git-acpi.patch
arch-x86-kernel-early_printkc-remove-unused-enable_debug_console.patch
mm-print-out-meminit-for-memmap.patch
acpi-dont-load-acpi_cpufreq-if-acpi=off.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-02 23:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-02 23:25 + acpi-dont-load-acpi_cpufreq-if-acpi=off.patch added to -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.