Re: [PATCH][4/6]Register snapshotting before kexec-boot

From: Theodore Ts'o
Date: Wed Aug 18 2004 - 10:54:05 EST


This patch is needed so that the kexec patches will compile on systems
that don't have APIC's enabled.

- Ted

# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2004/08/18 09:41:41-04:00 tytso@xxxxxxxxxxxxxxx
# Fix so that kexec patches compile on systems when
# CONFIG_X86_LOCAL_APIC is disabled.
#
# include/asm-i386/crash_dump.h
# 2004/08/18 09:41:29-04:00 tytso@xxxxxxxxxxxxxxx +2 -0
# Fix so that kexec patches compile on systems when
# CONFIG_X86_LOCAL_APIC is disabled.
#
diff -Nru a/include/asm-i386/crash_dump.h b/include/asm-i386/crash_dump.h
--- a/include/asm-i386/crash_dump.h 2004-08-18 09:42:15 -04:00
+++ b/include/asm-i386/crash_dump.h 2004-08-18 09:42:15 -04:00
@@ -53,7 +53,9 @@
#if defined(CONFIG_X86_IO_APIC)
disable_IO_APIC();
#endif
+#if defined(CONFIG_X86_LOCAL_APIC)
disconnect_bsp_APIC();
+#endif
}
}
#else
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/