summaryrefslogtreecommitdiff
path: root/kvm_paging_tmpl.h
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2011-06-08 16:21:26 -0700
committerRobert Mustacchi <rm@joyent.com>2011-06-08 16:21:26 -0700
commitdf2190c032a8edd78d9b1f16ecb2b39a61e9f5f6 (patch)
tree6545e76f5c7efa4d2fd30ca8df732b1f42faf7b5 /kvm_paging_tmpl.h
parentbcf59b66b69ad704be45d8c4415cb346f5e9ac87 (diff)
downloadillumos-kvm-df2190c032a8edd78d9b1f16ecb2b39a61e9f5f6.tar.gz
HVM-339 Remove CONFIG_X86_64 ifdefs from header files
Diffstat (limited to 'kvm_paging_tmpl.h')
-rw-r--r--kvm_paging_tmpl.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/kvm_paging_tmpl.h b/kvm_paging_tmpl.h
index 982bd3d..09d774c 100644
--- a/kvm_paging_tmpl.h
+++ b/kvm_paging_tmpl.h
@@ -33,13 +33,8 @@
#define PT_INDEX(addr, level) PT64_INDEX(addr, level)
#define PT_LEVEL_MASK(level) PT64_LEVEL_MASK(level)
#define PT_LEVEL_BITS PT64_LEVEL_BITS
- #ifdef CONFIG_X86_64
#define PT_MAX_FULL_LEVELS 4
#define CMPXCHG cmpxchg
- #else
- #define CMPXCHG cmpxchg64
- #define PT_MAX_FULL_LEVELS 2
- #endif
#elif PTTYPE == 32
#define pt_element_t uint32_t
#define guest_walker guest_walker32