x86: avoid low BIOS area when allocating address space
[deliverable/linux.git] / arch / x86 / kernel / resource.c
1 #include <linux/ioport.h>
2 #include <asm/e820.h>
3
4 void arch_remove_reservations(struct resource *avail)
5 {
6 /* Trim out BIOS area (low 1MB) */
7 if (avail->flags & IORESOURCE_MEM) {
8 if (avail->start < BIOS_END)
9 avail->start = BIOS_END;
10 }
11 }
This page took 0.032402 seconds and 5 git commands to generate.