mm: fix exec activate_mm vs TLB shootdown and lazy tlb switching race
[linux/fpc-iii.git] / arch / x86 / kernel / eisa.c
blobe8c8c5d78dbdd38b1089f5dc87cf3450644fe487
1 /*
2 * EISA specific code
4 * This file is licensed under the GPL V2
5 */
6 #include <linux/ioport.h>
7 #include <linux/eisa.h>
8 #include <linux/io.h>
10 #include <xen/xen.h>
12 static __init int eisa_bus_probe(void)
14 void __iomem *p;
16 if (xen_pv_domain() && !xen_initial_domain())
17 return 0;
19 p = ioremap(0x0FFFD9, 4);
20 if (p && readl(p) == 'E' + ('I' << 8) + ('S' << 16) + ('A' << 24))
21 EISA_bus = 1;
22 iounmap(p);
23 return 0;
25 subsys_initcall(eisa_bus_probe);