powerpc: Remove Mac-on-Linux hooks
authorBen Hutchings <ben@decadent.org.uk>
Fri, 2 Dec 2016 02:27:50 +0000 (02:27 +0000)
committerYves-Alexis Perez <corsac@debian.org>
Fri, 9 Feb 2018 12:58:52 +0000 (12:58 +0000)
The symbols exported for use by MOL aren't getting CRCs and I was
about to fix that.  But MOL is dead upstream, and the latest work on
it was to make it use KVM instead of its own kernel module.  So remove
them instead.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic bugfix/powerpc
Gbp-Pq: Name powerpc-remove-mac-on-linux-hooks.patch

arch/powerpc/kernel/head_32.S
arch/powerpc/mm/hash_low_32.S

index 9d963547d2438864d36662271912c4a2c28f21ef..87998430cd9b6fd9558b9e653e9e20172d235280 100644 (file)
@@ -735,11 +735,7 @@ END_MMU_FTR_SECTION_IFSET(MMU_FTR_NEED_DTLB_SW_LRU)
        EXCEPTION(0x2c00, Trap_2c, unknown_exception, EXC_XFER_EE)
        EXCEPTION(0x2d00, Trap_2d, unknown_exception, EXC_XFER_EE)
        EXCEPTION(0x2e00, Trap_2e, unknown_exception, EXC_XFER_EE)
-       EXCEPTION(0x2f00, MOLTrampoline, unknown_exception, EXC_XFER_EE_LITE)
-
-       .globl mol_trampoline
-       .set mol_trampoline, i0x2f00
-       EXPORT_SYMBOL(mol_trampoline)
+       EXCEPTION(0x2f00, Trap_2f, unknown_exception, EXC_XFER_EE)
 
        . = 0x3000
 
@@ -1289,7 +1285,6 @@ intercept_table:
        .long 0, 0, 0, 0, 0, 0, 0, 0
        .long 0, 0, 0, 0, 0, 0, 0, 0
        .long 0, 0, 0, 0, 0, 0, 0, 0
-EXPORT_SYMBOL(intercept_table)
 
 /* Room for two PTE pointers, usually the kernel and current user pointers
  * to their respective root page table.
index 09cc50c8dace34652b028ab94f8bd8123daffa0e..cddf14f60bf35141e4284655fc1415e09fc36efd 100644 (file)
@@ -34,7 +34,6 @@
        .globl mmu_hash_lock
 mmu_hash_lock:
        .space  4
-EXPORT_SYMBOL(mmu_hash_lock)
 #endif /* CONFIG_SMP */
 
 /*