diff options
author | Christoph Egger <siccegge@cs.fau.de> | 2011-11-30 16:39:20 -0500 |
---|---|---|
committer | Josh Boyer <jwboyer@gmail.com> | 2011-12-09 07:48:56 -0500 |
commit | ca899859f14e510854c5c8908d3ffdfcd34b16de (patch) | |
tree | e752204f88c7d5d0cb537ac85a26340fe8f07a8d | |
parent | 466c2bc762c4212f64c5cf778ff569efd79f0778 (diff) |
powerpc/44x: Removing dead CONFIG_PPC47x
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>
-rw-r--r-- | arch/powerpc/mm/44x_mmu.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/powerpc/mm/44x_mmu.c b/arch/powerpc/mm/44x_mmu.c index f60e006d90c3..5d4e3fff6d6d 100644 --- a/arch/powerpc/mm/44x_mmu.c +++ b/arch/powerpc/mm/44x_mmu.c | |||
@@ -78,11 +78,7 @@ static void __init ppc44x_pin_tlb(unsigned int virt, unsigned int phys) | |||
78 | "tlbwe %1,%3,%5\n" | 78 | "tlbwe %1,%3,%5\n" |
79 | "tlbwe %0,%3,%6\n" | 79 | "tlbwe %0,%3,%6\n" |
80 | : | 80 | : |
81 | #ifdef CONFIG_PPC47x | ||
82 | : "r" (PPC47x_TLB2_S_RWX), | ||
83 | #else | ||
84 | : "r" (PPC44x_TLB_SW | PPC44x_TLB_SR | PPC44x_TLB_SX | PPC44x_TLB_G), | 81 | : "r" (PPC44x_TLB_SW | PPC44x_TLB_SR | PPC44x_TLB_SX | PPC44x_TLB_G), |
85 | #endif | ||
86 | "r" (phys), | 82 | "r" (phys), |
87 | "r" (virt | PPC44x_TLB_VALID | PPC44x_TLB_256M), | 83 | "r" (virt | PPC44x_TLB_VALID | PPC44x_TLB_256M), |
88 | "r" (entry), | 84 | "r" (entry), |