From: Tony Breeds <tony@bakeyournoodle.com>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Josh Boyer <jwboyer@gmail.com>
Cc: LinuxPPC-dev <linuxppc-dev@lists.ozlabs.org>
Subject: [PATCH 4/8] 44x: Removing dead CONFIG_PPC47x
Date: Thu, 1 Dec 2011 18:39:20 +1100 [thread overview]
Message-ID: <1322725164-4391-5-git-send-email-tony@bakeyournoodle.com> (raw)
In-Reply-To: <1322725164-4391-1-git-send-email-tony@bakeyournoodle.com>
From: Christoph Egger <siccegge@cs.fau.de>
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>
---
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 f60e006..5d4e3ff 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)
"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),
--
1.7.6.4
next prev parent reply other threads:[~2011-12-01 7:39 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-01 7:39 Add support for the currituck 476 platform from IBM (v2) Tony Breeds
2011-12-01 7:39 ` [PATCH 1/8] 44x/pci: Use PCI_BASE_ADDRESS_MEM_PREFETCH rather than magic value Tony Breeds
2011-12-01 7:39 ` [PATCH 2/8] 44x/pci: Add a want_sdr flag into ppc4xx_pciex_hwops Tony Breeds
2011-12-02 20:57 ` Benjamin Herrenschmidt
2011-12-01 7:39 ` [PATCH 3/8] 44x/pci: Setup the dma_window properties for each pci_controller Tony Breeds
2011-12-01 7:39 ` Tony Breeds [this message]
2011-12-01 7:39 ` [PATCH 5/8] powerpc/boot: Add extended precision shifts to the boot wrapper Tony Breeds
2011-12-01 7:39 ` [PATCH 6/8] powerpc/boot: Add mfdcrx Tony Breeds
2011-12-01 7:39 ` [PATCH 7/8] 44x/476fpe: Add 476fpe SoC code Tony Breeds
2011-12-02 20:58 ` Benjamin Herrenschmidt
2011-12-03 10:11 ` Tony Breeds
2011-12-03 13:33 ` Josh Boyer
2011-12-03 21:52 ` Tony Breeds
2011-12-01 7:39 ` [PATCH 8/8] 44x/currituck: Add support for the new IBM currituck platform Tony Breeds
2011-12-01 7:43 ` Add support for the currituck 476 platform from IBM (v2) Tony Breeds
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1322725164-4391-5-git-send-email-tony@bakeyournoodle.com \
--to=tony@bakeyournoodle.com \
--cc=benh@kernel.crashing.org \
--cc=jwboyer@gmail.com \
--cc=linuxppc-dev@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).