xen: disable interrupts early, as start_kernel expects
authorJeremy Fitzhardinge <jeremy@goop.org>
Wed, 25 Feb 2009 17:42:25 +0000 (09:42 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 Mar 2009 00:53:01 +0000 (17:53 -0700)
commitd8e7babd7dc570e3b62cf82cdd9a4eb4aca6f45a
tree25d6e9d712d7523f0b0feabffdf65292c64133bc
parente91d89d68bf2255e0611e5b9fa833f873aef88dd
xen: disable interrupts early, as start_kernel expects

commit 55d8085671863fe4ee6a17b7814bd38180a44e1d upstream.

This avoids a lockdep warning from:
if (DEBUG_LOCKS_WARN_ON(unlikely(!early_boot_irqs_enabled)))
return;
in trace_hardirqs_on_caller();

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Mark McLoughlin <markmc@redhat.com>
Cc: Xen-devel <xen-devel@lists.xensource.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/xen/enlighten.c