summaryrefslogtreecommitdiff
path: root/kvm_cache_regs.h
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2011-06-06 14:02:23 -0700
committerRobert Mustacchi <rm@joyent.com>2011-06-06 14:02:23 -0700
commitcdfc25b2b1b63c793663be9aeac1c3606069e3b7 (patch)
tree7841aeb29d6e922ffe46bf7131888e75871b7c58 /kvm_cache_regs.h
parent219f027a82b44336a57d02b0115d3458caa7b5bc (diff)
downloadillumos-kvm-cdfc25b2b1b63c793663be9aeac1c3606069e3b7.tar.gz
HVM-306 kvm_cache_regs.h missing forward declarations
Diffstat (limited to 'kvm_cache_regs.h')
-rw-r--r--kvm_cache_regs.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/kvm_cache_regs.h b/kvm_cache_regs.h
index b8ea86f..54086e9 100644
--- a/kvm_cache_regs.h
+++ b/kvm_cache_regs.h
@@ -1,9 +1,12 @@
#ifndef ASM_KVM_CACHE_REGS_H
#define ASM_KVM_CACHE_REGS_H
-#include "processor-flags.h"
#include <sys/types.h>
+#include "processor-flags.h"
+
+enum kvm_reg;
+
#define KVM_POSSIBLE_CR0_GUEST_BITS X86_CR0_TS
#define KVM_POSSIBLE_CR4_GUEST_BITS \
(X86_CR4_PVI | X86_CR4_DE | X86_CR4_PCE | X86_CR4_OSFXSR \