diff options
author | James Hogan <james.hogan@imgtec.com> | 2015-12-17 00:49:27 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2016-01-24 03:06:43 +0100 |
commit | 4c53e6b985c65aa7e6e038ed83d0ba10e72201e8 (patch) | |
tree | 4e04ecd5c93892a27ed1693bf508026bcfe2fb0a | |
parent | MIPS: KVM: Trivial whitespace and style fixes (diff) | |
download | linux-4c53e6b985c65aa7e6e038ed83d0ba10e72201e8.tar.xz linux-4c53e6b985c65aa7e6e038ed83d0ba10e72201e8.zip |
MIPS: KVM: Drop some unused definitions from kvm_host.h
Some definitions in the MIPS asm/kvm_host.h are completely unused, so
lets drop them.
MS_TO_NS is no longer used since commit e30492bbe95a ("MIPS: KVM:
Rewrite count/compare timer emulation"). The others don't appear ever to
have been used.
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Gleb Natapov <gleb@kernel.org>
Cc: kvm@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11884/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | arch/mips/include/asm/kvm_host.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/mips/include/asm/kvm_host.h b/arch/mips/include/asm/kvm_host.h index 6a313157db83..17782205c5db 100644 --- a/arch/mips/include/asm/kvm_host.h +++ b/arch/mips/include/asm/kvm_host.h @@ -92,11 +92,6 @@ #define KVM_INVALID_INST 0xdeadbeef #define KVM_INVALID_ADDR 0xdeadbeef -#define KVM_MALTA_GUEST_RTC_ADDR 0xb8000070UL - -#define GUEST_TICKS_PER_JIFFY (40000000/HZ) -#define MS_TO_NS(x) (x * 1E6L) - #define CAUSEB_DC 27 #define CAUSEF_DC (_ULCAST_(1) << 27) |