diff options
| author | Brian Gerst <bgerst@didntduck.org> | 2002-03-14 23:15:51 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-03-14 23:15:51 -0800 |
| commit | a0816e182d213bbfa1288567f5c41e190ca07724 (patch) | |
| tree | 4e6035947bede47f916d0a01ae217b9f960061fa /include | |
| parent | 779f16439e3d02d3dfdcbc99781c701a442ead3f (diff) | |
[PATCH] Cleanup F00F bug code
This changes the F00F bug workaround code to use the fixmap facilities
instead of touching the page tables directly. It also removes the
assumption that only 686's don't have the bug. I have confirmation that
the patch works on buggy pentiums.
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-i386/fixmap.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-i386/fixmap.h b/include/asm-i386/fixmap.h index 033278aa50e7..caac70ab1c9c 100644 --- a/include/asm-i386/fixmap.h +++ b/include/asm-i386/fixmap.h @@ -61,6 +61,9 @@ enum fixed_addresses { FIX_LI_PCIA, /* Lithium PCI Bridge A */ FIX_LI_PCIB, /* Lithium PCI Bridge B */ #endif +#ifdef CONFIG_X86_F00F_BUG + FIX_F00F_IDT, /* Virtual mapping for IDT */ +#endif #ifdef CONFIG_HIGHMEM FIX_KMAP_BEGIN, /* reserved pte's for temporary kernel mappings */ FIX_KMAP_END = FIX_KMAP_BEGIN+(KM_TYPE_NR*NR_CPUS)-1, |
