Skip to content

Commit a7efdf6

Browse files
chazyGleb Natapov
authored andcommitted
KVM: s390: Get rid of KVM_HPAGE defines
Now when the main kvm code relying on these defines has been moved to the x86 specific part of the world, we can get rid of these. Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Gleb Natapov <gleb@redhat.com>
1 parent 2c5350e commit a7efdf6

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

arch/s390/include/asm/kvm_host.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,6 @@ struct sca_block {
3838
struct sca_entry cpu[64];
3939
} __attribute__((packed));
4040

41-
#define KVM_NR_PAGE_SIZES 2
42-
#define KVM_HPAGE_GFN_SHIFT(x) (((x) - 1) * 8)
43-
#define KVM_HPAGE_SHIFT(x) (PAGE_SHIFT + KVM_HPAGE_GFN_SHIFT(x))
44-
#define KVM_HPAGE_SIZE(x) (1UL << KVM_HPAGE_SHIFT(x))
45-
#define KVM_HPAGE_MASK(x) (~(KVM_HPAGE_SIZE(x) - 1))
46-
#define KVM_PAGES_PER_HPAGE(x) (KVM_HPAGE_SIZE(x) / PAGE_SIZE)
47-
4841
#define CPUSTAT_STOPPED 0x80000000
4942
#define CPUSTAT_WAIT 0x10000000
5043
#define CPUSTAT_ECALL_PEND 0x08000000

0 commit comments

Comments
 (0)