|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [tip:x86/urgent] xen: disable interrupts early, as start_ker
To: |
linux-tip-commits@xxxxxxxxxxxxxxx |
Subject: |
[Xen-devel] [tip:x86/urgent] xen: disable interrupts early, as start_kernel expects |
From: |
Jeremy Fitzhardinge <jeremy@xxxxxxxx> |
Date: |
Wed, 25 Feb 2009 17:54:37 GMT |
Cc: |
markmc@xxxxxxxxxx, jeremy@xxxxxxxx, jeremy.fitzhardinge@xxxxxxxxxx, mingo@xxxxxxx, mingo@xxxxxxxxxx, hpa@xxxxxxxxx, tglx@xxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx |
Delivery-date: |
Wed, 25 Feb 2009 09:55:48 -0800 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
List-help: |
<mailto:xen-devel-request@lists.xensource.com?subject=help> |
List-id: |
Xen developer discussion <xen-devel.lists.xensource.com> |
List-post: |
<mailto:xen-devel@lists.xensource.com> |
List-subscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
Reply-to: |
hpa@xxxxxxxxx, mingo@xxxxxxxxxx, jeremy.fitzhardinge@xxxxxxxxxx, jeremy@xxxxxxxx, tglx@xxxxxxxxxxxxx, markmc@xxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx, mingo@xxxxxxx, linux-kernel@xxxxxxxxxxxxxxx |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
Author: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
AuthorDate: Wed, 25 Feb 2009 09:42:25 -0800
Commit: Ingo Molnar <mingo@xxxxxxx>
CommitDate: Wed, 25 Feb 2009 18:51:57 +0100
xen: disable interrupts early, as start_kernel expects
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@xxxxxxxxxx>
Cc: Mark McLoughlin <markmc@xxxxxxxxxx>
Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
---
arch/x86/xen/enlighten.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c
index bea2152..b58e963 100644
--- a/arch/x86/xen/enlighten.c
+++ b/arch/x86/xen/enlighten.c
@@ -1672,6 +1672,9 @@ asmlinkage void __init xen_start_kernel(void)
possible map and a non-dummy shared_info. */
per_cpu(xen_vcpu, 0) = &HYPERVISOR_shared_info->vcpu_info[0];
+ local_irq_disable();
+ early_boot_irqs_off();
+
xen_raw_console_write("mapping kernel into physical memory\n");
pgd = xen_setup_kernel_pagetable(pgd, xen_start_info->nr_pages);
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [tip:x86/urgent] xen: disable interrupts early, as start_kernel expects,
Jeremy Fitzhardinge <=
|
|
|
|
|