From: Ingo Molnar Date: Thu, 22 Mar 2007 09:31:19 +0000 (+0100) Subject: [PATCH] setup_boot_APIC_clock() irq-enable fix X-Git-Tag: v2.6.21-rc5~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4edc5db83f574dfcc8be35b7b96760ded543b360;p=pandora-kernel.git [PATCH] setup_boot_APIC_clock() irq-enable fix latest -git triggers an irqtrace/lockdep warning of a leaked irqs-off condition: BUG: at kernel/fork.c:1033 copy_process() after some debugging it turns out that commit ca1b940c accidentally left interrupts disabled - which trickled down all the way to the first time we fork a kernel thread and triggered the warning. the fix is to re-enable interrupts in the 'else' branch of setup_boot_APIC_clock()'s pmtimers calibration path. Reported-by: Michal Piotrowski Signed-off-by: Ingo Molnar Acked-by: Thomas Gleixner Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed