git.openpandora.org
/
pandora-kernel.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
x86: avoid low BIOS area when allocating address space
[pandora-kernel.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
}