KVM: x86: Do not rely on implicit vmalloc.h inclusion
PATCH 1/1 KVM: x86: Do not rely on implicit vmalloc.h inclusion
Works so far, but it is not guaranteed to stay like this.
Signed-off-by Jan Kiszka <[email protected]>
--- arch/x86/kvm/cpuid.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/x86/kvm/cpuid.c +1 -0
@@ -14,6 +14,7 @@#include <linux/kvm_host.h> #include <linux/module.h> +#include <linux/vmalloc.h> #include <asm/user.h> #include <asm/xsave.h> #include "cpuid.h"
Signature · 1 line
1.7.3.4
PATCH v2 1/1 KVM: x86: Do not rely on implicit inclusions
Works so far by change, but it is not guaranteed to stay like this.
Signed-off-by Jan Kiszka <[email protected]>
---
Same for uaccess.h. Not sure if this is common policy, it just helped me backporting.
arch/x86/kvm/cpuid.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
arch/x86/kvm/cpuid.c +2 -0
@@ -14,6 +14,8 @@#include <linux/kvm_host.h> #include <linux/module.h> +#include <linux/vmalloc.h> +#include <linux/uaccess.h> #include <asm/user.h> #include <asm/xsave.h> #include "cpuid.h"
Signature · 1 line
1.7.3.4