From: Andi Kleen <ak@suse.de>
To: john stultz <johnstul@us.ibm.com>
Cc: Laurent Riffard <laurent.riffard@free.fr>,
Kernel development list <linux-kernel@vger.kernel.org>,
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>,
Andrew Morton <akpm@osdl.org>
Subject: Re: 2.6.17-rc1-mm3: time-i386-clocksource-drivers*.patch broke userspace apps
Date: Tue, 2 May 2006 20:29:04 +0200 [thread overview]
Message-ID: <200605022029.05333.ak@suse.de> (raw)
In-Reply-To: <1146593819.21288.2.camel@cog.beaverton.ibm.com>
On Tuesday 02 May 2006 20:16, john stultz wrote:
> It looks like its from the patch:
> i386-x86-64-fix-acpi-disabled-lapic-handling.patch
>
>
> The second chunk adds:
>
> + if (!cpu_has_apic)
> + return -ENODEV;
> +
>
> Right before we probe for the ACPI PM timer.
>
>
> Andi, is there some way we can move that to after the ACPI PM probe?
Yes there was some merging trouble with this and some of the hunks
applied to the wrong places and I didn't remove the wrong one
in the first fixup patch. Sorry. This should fix it up.
Andrew, can you send that one to Linus please?
-Andi
Remove wrong cpu_has_apic checks that came from mismerging.
We only need to check cpu_has_apic in the IO-APIC/L-APIC parsing,
not for all of ACPI.
Signed-off-by: Andi Kleen <ak@suse.de>
Index: linux/arch/i386/kernel/acpi/boot.c
===================================================================
--- linux.orig/arch/i386/kernel/acpi/boot.c
+++ linux/arch/i386/kernel/acpi/boot.c
@@ -1102,9 +1102,6 @@ int __init acpi_boot_table_init(void)
dmi_check_system(acpi_dmi_table);
#endif
- if (!cpu_has_apic)
- return -ENODEV;
-
/*
* If acpi_disabled, bail out
* One exception: acpi=ht continues far enough to enumerate LAPICs
@@ -1151,9 +1148,6 @@ int __init acpi_boot_init(void)
acpi_table_parse(ACPI_BOOT, acpi_parse_sbf);
- if (!cpu_has_apic)
- return -ENODEV;
-
/*
* set sci_int and PM timer address
*/
next prev parent reply other threads:[~2006-05-02 18:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-30 12:59 2.6.17-rc1-mm3: time-i386-clocksource-drivers*.patch broke userspace apps Laurent Riffard
2006-04-30 21:26 ` john stultz
2006-05-02 18:16 ` john stultz
2006-05-02 18:29 ` Andi Kleen [this message]
2006-05-02 19:01 ` Laurent Riffard
2006-05-03 15:58 ` Valdis.Kletnieks
2006-05-22 19:36 ` Jim Cromie
2006-05-27 12:05 ` Laurent Riffard
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=200605022029.05333.ak@suse.de \
--to=ak@suse.de \
--cc=akpm@osdl.org \
--cc=hirofumi@mail.parknet.co.jp \
--cc=johnstul@us.ibm.com \
--cc=laurent.riffard@free.fr \
--cc=linux-kernel@vger.kernel.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