aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/resource.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/resource.c')
-rw-r--r--arch/x86/kernel/resource.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/x86/kernel/resource.c b/arch/x86/kernel/resource.c
new file mode 100644
index 000000000000..407a900da9df
--- /dev/null
+++ b/arch/x86/kernel/resource.c
@@ -0,0 +1,11 @@
1#include <linux/ioport.h>
2#include <asm/e820.h>
3
4void 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}