aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-01-19 01:22:52 -0500
committerPaul Mundt <lethal@linux-sh.org>2010-01-19 01:22:52 -0500
commitcb6d04468d16de5a6161167ec7e76a43be540a80 (patch)
tree9098a291898ebf38400da16617c141217b3f1e64
parentbb29c677b366fdf4f6522cd82228a32567aa98c7 (diff)
sh: Kill off now bogus fixmap/page wiring documentation.
The plans for _PAGE_WIRED were detailed in a comment with the fixmap code, but as it's now all taken care of, we no longer have any reason for keeping it around, particularly since it's no longer accurate. Kill it off. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r--arch/sh/mm/init.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/sh/mm/init.c b/arch/sh/mm/init.c
index fe578a286fd..32ebd1592e6 100644
--- a/arch/sh/mm/init.c
+++ b/arch/sh/mm/init.c
@@ -98,21 +98,6 @@ static void clear_pte_phys(unsigned long addr, pgprot_t prot)
98 local_flush_tlb_one(get_asid(), addr); 98 local_flush_tlb_one(get_asid(), addr);
99} 99}
100 100
101/*
102 * As a performance optimization, other platforms preserve the fixmap mapping
103 * across a context switch, we don't presently do this, but this could be done
104 * in a similar fashion as to the wired TLB interface that sh64 uses (by way
105 * of the memory mapped UTLB configuration) -- this unfortunately forces us to
106 * give up a TLB entry for each mapping we want to preserve. While this may be
107 * viable for a small number of fixmaps, it's not particularly useful for
108 * everything and needs to be carefully evaluated. (ie, we may want this for
109 * the vsyscall page).
110 *
111 * XXX: Perhaps add a _PAGE_WIRED flag or something similar that we can pass
112 * in at __set_fixmap() time to determine the appropriate behavior to follow.
113 *
114 * -- PFM.
115 */
116void __set_fixmap(enum fixed_addresses idx, unsigned long phys, pgprot_t prot) 101void __set_fixmap(enum fixed_addresses idx, unsigned long phys, pgprot_t prot)
117{ 102{
118 unsigned long address = __fix_to_virt(idx); 103 unsigned long address = __fix_to_virt(idx);