Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc/32: Remove Mac-on-Linux/rtlinux hooks

The symbols exported for use by MOL/rtlinux 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>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>

authored by

Ben Hutchings and committed by
Michael Ellerman
30726013 819cdcdb

+1 -17
+1 -15
arch/powerpc/kernel/head_32.S
··· 735 735 EXCEPTION(0x2c00, Trap_2c, unknown_exception, EXC_XFER_EE) 736 736 EXCEPTION(0x2d00, Trap_2d, unknown_exception, EXC_XFER_EE) 737 737 EXCEPTION(0x2e00, Trap_2e, unknown_exception, EXC_XFER_EE) 738 - EXCEPTION(0x2f00, MOLTrampoline, unknown_exception, EXC_XFER_EE_LITE) 739 - 740 - .globl mol_trampoline 741 - .set mol_trampoline, i0x2f00 742 - EXPORT_SYMBOL(mol_trampoline) 738 + EXCEPTION(0x2f00, Trap_2f, unknown_exception, EXC_XFER_EE) 743 739 744 740 . = 0x3000 745 741 ··· 1273 1277 .globl swapper_pg_dir 1274 1278 swapper_pg_dir: 1275 1279 .space PGD_TABLE_SIZE 1276 - 1277 - .globl intercept_table 1278 - intercept_table: 1279 - .long 0, 0, i0x200, i0x300, i0x400, 0, i0x600, i0x700 1280 - .long i0x800, 0, 0, 0, 0, i0xd00, 0, 0 1281 - .long 0, 0, 0, i0x1300, 0, 0, 0, 0 1282 - .long 0, 0, 0, 0, 0, 0, 0, 0 1283 - .long 0, 0, 0, 0, 0, 0, 0, 0 1284 - .long 0, 0, 0, 0, 0, 0, 0, 0 1285 - EXPORT_SYMBOL(intercept_table) 1286 1280 1287 1281 /* Room for two PTE pointers, usually the kernel and current user pointers 1288 1282 * to their respective root page table.
-2
arch/powerpc/mm/hash_low_32.S
··· 31 31 #ifdef CONFIG_SMP 32 32 .section .bss 33 33 .align 2 34 - .globl mmu_hash_lock 35 34 mmu_hash_lock: 36 35 .space 4 37 - EXPORT_SYMBOL(mmu_hash_lock) 38 36 #endif /* CONFIG_SMP */ 39 37 40 38 /*