diff options
author | Keir Fraser <keir@xen.org> | 2010-12-17 10:46:43 +0000 |
---|---|---|
committer | Keir Fraser <keir@xen.org> | 2010-12-17 10:46:43 +0000 |
commit | 6c298ecc1fc3c8e65be0f59e3c2095f29f59aa26 (patch) | |
tree | d038057523d058998b00c0c56450234b09240156 /xen/common/kexec.c | |
parent | 00b8b6c5db3a87d07ed8dd7eb7cf390ce8734a00 (diff) | |
download | xen-6c298ecc1fc3c8e65be0f59e3c2095f29f59aa26.tar.gz xen-6c298ecc1fc3c8e65be0f59e3c2095f29f59aa26.tar.bz2 xen-6c298ecc1fc3c8e65be0f59e3c2095f29f59aa26.zip |
vtd: Reinstate ACPI DMAR on system shutdown or S3/S4/S5.
Signed-off-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/common/kexec.c')
-rw-r--r-- | xen/common/kexec.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/xen/common/kexec.c b/xen/common/kexec.c index f6ce3b16a2..989907b98d 100644 --- a/xen/common/kexec.c +++ b/xen/common/kexec.c @@ -203,20 +203,13 @@ crash_xen_info_t *kexec_crash_save_info(void) return out; } -static int acpi_dmar_reinstate(struct acpi_table_header *table) -{ - table->signature[0] = 'D'; - table->checksum += 'X'-'D'; - return 0; -} - static void kexec_common_shutdown(void) { watchdog_disable(); console_start_sync(); spin_debug_disable(); one_cpu_only(); - acpi_table_parse(ACPI_SIG_DMAR, acpi_dmar_reinstate); + acpi_dmar_reinstate(); } void kexec_crash(void) |