patch-2.1.104 linux/arch/i386/mm/init.c
Next file: linux/arch/m68k/atari/stram.c
Previous file: linux/arch/i386/kernel/time.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Thu May 21 20:57:02 1998
- Orig file:
v2.1.103/linux/arch/i386/mm/init.c
- Orig date:
Wed May 20 19:10:37 1998
diff -u --recursive --new-file v2.1.103/linux/arch/i386/mm/init.c linux/arch/i386/mm/init.c
@@ -293,6 +293,16 @@
memset((void *)start_mem, 0, PAGE_SIZE);
start_mem += PAGE_SIZE;
set_pte(pg_table, pte);
+
+ /*
+ * Do the same for the IO-APIC
+ */
+ apic_area = 0xFEC00000;
+ pg_table = pte_offset((pmd_t *)pg_dir, apic_area);
+ pte = mk_pte(start_mem, PAGE_KERNEL);
+ memset((void *)start_mem, 0, PAGE_SIZE);
+ start_mem += PAGE_SIZE;
+ set_pte(pg_table, pte);
}
local_flush_tlb();
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov