mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-04 00:06:36 +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;
|
||
|
}
|
||
|
}
|