diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-06-07 16:41:19 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-06-07 16:41:19 +0100 |
commit | 7aa4b1bbc79df5e1063d88b803312295fa88f361 (patch) | |
tree | 3766046d3b5824c3ee10b17cb3446f1faf97562b /xen/arch/x86/tboot.c | |
parent | 702890192a4c1f05aabb24332bec2721fb75399e (diff) | |
download | xen-7aa4b1bbc79df5e1063d88b803312295fa88f361.tar.gz xen-7aa4b1bbc79df5e1063d88b803312295fa88f361.tar.bz2 xen-7aa4b1bbc79df5e1063d88b803312295fa88f361.zip |
x86: Force !in_irq() in machine_restart().
Various function we may call assert this fact. We just want to restart
the system.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/arch/x86/tboot.c')
-rw-r--r-- | xen/arch/x86/tboot.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/xen/arch/x86/tboot.c b/xen/arch/x86/tboot.c index 63aba56820..aac0f82947 100644 --- a/xen/arch/x86/tboot.c +++ b/xen/arch/x86/tboot.c @@ -334,11 +334,6 @@ void tboot_shutdown(uint32_t shutdown_type) local_irq_disable(); - /* we may be called from an interrupt context, so to prevent */ - /* 'ASSERT(!in_irq());' in alloc_domheap_pages(), decrease count */ - while ( in_irq() ) - irq_exit(); - /* Create identity map for tboot shutdown code. */ /* do before S3 integrity because mapping tboot may change xenheap */ map_base = PFN_DOWN(g_tboot_shared->tboot_base); |