aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm
diff options
context:
space:
mode:
authorMatt Fleming <matt@console-pimps.org>2009-11-17 17:03:41 -0500
committerMatt Fleming <matt@console-pimps.org>2010-01-16 09:29:23 -0500
commit07cad4dc1bfdaefd20c6329e9d8179ad1c600e92 (patch)
tree1ca1e2758dc14245315fc9a9d7334d739d3f0816 /arch/sh/include/asm
parent24ef7fc4dcc57afa0c33166c25bfe7676ffd4296 (diff)
sh: Generalise the pte handling code for the fixmap path
Generalise the code for setting and clearing pte's and allow TLB entries to be pinned and unpinned if the _PAGE_WIRED flag is present. Signed-off-by: Matt Fleming <matt@console-pimps.org>
Diffstat (limited to 'arch/sh/include/asm')
-rw-r--r--arch/sh/include/asm/fixmap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/include/asm/fixmap.h b/arch/sh/include/asm/fixmap.h
index 5ac1e40a511c..1566d3361ca4 100644
--- a/arch/sh/include/asm/fixmap.h
+++ b/arch/sh/include/asm/fixmap.h
@@ -65,6 +65,7 @@ enum fixed_addresses {
65 65
66extern void __set_fixmap(enum fixed_addresses idx, 66extern void __set_fixmap(enum fixed_addresses idx,
67 unsigned long phys, pgprot_t flags); 67 unsigned long phys, pgprot_t flags);
68extern void __clear_fixmap(enum fixed_addresses idx, pgprot_t flags);
68 69
69#define set_fixmap(idx, phys) \ 70#define set_fixmap(idx, phys) \
70 __set_fixmap(idx, phys, PAGE_KERNEL) 71 __set_fixmap(idx, phys, PAGE_KERNEL)