summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/resource.c
blob: 407a900da9df1bf5daffae98831811c2076a886f (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <linux/ioport.h>
#include <asm/e820.h>

void arch_remove_reservations(struct resource *avail)
{
	/* Trim out BIOS area (low 1MB) */
	if (avail->flags & IORESOURCE_MEM) {
		if (avail->start < BIOS_END)
			avail->start = BIOS_END;
	}
}
OpenPOWER on IntegriCloud