powerpc/44x: Removing dead CONFIG_PPC47x
authorChristoph Egger <siccegge@cs.fau.de>
Wed, 30 Nov 2011 21:39:20 +0000 (21:39 +0000)
committerJosh Boyer <jwboyer@gmail.com>
Fri, 9 Dec 2011 12:48:56 +0000 (07:48 -0500)
CONFIG_PPC47x doesn't exist in Kconfig and no 476 processor calls this
function ppc44x_pin_tlb() as it has it's own ppc47x_pin_tlb().

This code is probably an artifact of the original 476 code that
shouldn't have made it upstream.

Signed-off-by: Christoph Egger <siccegge@cs.fau.de>
Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
arch/powerpc/mm/44x_mmu.c

index f60e006d90c3520c41905b2140fd522707214921..5d4e3fff6d6d6c381b6a9bcaacba9886333c8586 100644 (file)
@@ -78,11 +78,7 @@ static void __init ppc44x_pin_tlb(unsigned int virt, unsigned int phys)
                "tlbwe  %1,%3,%5\n"
                "tlbwe  %0,%3,%6\n"
        :
-#ifdef CONFIG_PPC47x
-       : "r" (PPC47x_TLB2_S_RWX),
-#else
        : "r" (PPC44x_TLB_SW | PPC44x_TLB_SR | PPC44x_TLB_SX | PPC44x_TLB_G),
-#endif
          "r" (phys),
          "r" (virt | PPC44x_TLB_VALID | PPC44x_TLB_256M),
          "r" (entry),