From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: ACPI using smp_processor_id in preemptible code Date: Sun, 9 Jan 2005 22:10:42 +0100 Message-ID: <20050109211042.GA1196@elf.ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: ACPI mailing list , kernel list List-Id: linux-acpi@vger.kernel.org Hi! I enabled CPU hotplug and preemptible debugging... now I get... BUG: using smp_processor_id() in preemptible [00000001] code: swapper/0 caller is acpi_processor_idle+0xb/0x235 [] smp_processor_id+0xa8/0xc0 [] acpi_processor_idle+0xb/0x235 [] acpi_processor_idle+0x0/0x235 [] acpi_processor_idle+0xb/0x235 [] acpi_processor_idle+0x0/0x235 [] acpi_processor_idle+0x0/0x235 [] acpi_processor_idle+0x0/0x235 [] cpu_idle+0x75/0x110 [] start_kernel+0x158/0x180 [] unknown_bootoption+0x0/0x1e0 ...in logs. Pavel -- People were complaining that M$ turns users into beta-testers... ...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl! ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt