Commit 4d44a399 authored by Ard Biesheuvel's avatar Ard Biesheuvel Committed by Russell King

ARM: 8994/1: mm: drop kimage_voffset which was only used by KVM

Now that KVM support has been removed from the 32-bit ARM port,
drop the export kimage_voffset symbol, which no longer has any
users.
Acked-by: default avatarMarc Zyngier <maz@kernel.org>
Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
Signed-off-by: default avatarRussell King <rmk+kernel@armlinux.org.uk>
parent 2350ebe2
...@@ -74,8 +74,6 @@ struct cachepolicy { ...@@ -74,8 +74,6 @@ struct cachepolicy {
pteval_t pte; pteval_t pte;
}; };
unsigned long kimage_voffset __ro_after_init;
static struct cachepolicy cache_policies[] __initdata = { static struct cachepolicy cache_policies[] __initdata = {
{ {
.policy = "uncached", .policy = "uncached",
...@@ -1654,9 +1652,6 @@ void __init paging_init(const struct machine_desc *mdesc) ...@@ -1654,9 +1652,6 @@ void __init paging_init(const struct machine_desc *mdesc)
empty_zero_page = virt_to_page(zero_page); empty_zero_page = virt_to_page(zero_page);
__flush_dcache_page(NULL, empty_zero_page); __flush_dcache_page(NULL, empty_zero_page);
/* Compute the virt/idmap offset, mostly for the sake of KVM */
kimage_voffset = (unsigned long)&kimage_voffset - virt_to_idmap(&kimage_voffset);
} }
void __init early_mm_init(const struct machine_desc *mdesc) void __init early_mm_init(const struct machine_desc *mdesc)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment