mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 13:53:33 +00:00
12 lines
243 B
C
12 lines
243 B
C
|
#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;
|
||
|
}
|
||
|
}
|