x86: fix build failure with 4.1 kernels.

This commit is contained in:
Dimitri John Ledkov
2015-07-15 13:06:38 +01:00
parent 7a5e69fb4d
commit 70ca8618d8
+1 -11
View File
@@ -2,6 +2,7 @@
#define KVM_E820_H
#include <kvm/bios.h>
#include <asm/e820.h>
#define SMAP 0x534d4150 /* ASCII "SMAP" */
@@ -11,17 +12,6 @@
#define E820_RAM 1
#define E820_RESERVED 2
struct e820entry {
u64 addr; /* start of memory segment */
u64 size; /* size of memory segment */
u32 type; /* type of memory segment */
} __attribute__((packed));
struct e820map {
u32 nr_map;
struct e820entry map[E820_X_MAX];
};
struct biosregs;
extern bioscall void e820_query_map(struct biosregs *regs);