diff options
author | Matt Fleming <matt@console-pimps.org> | 2009-11-20 00:11:05 +0300 |
---|---|---|
committer | Matt Fleming <matt@console-pimps.org> | 2010-01-16 17:29:06 +0300 |
commit | 24ef7fc4dcc57afa0c33166c25bfe7676ffd4296 (patch) | |
tree | d6fc5129f2dbb0534521f5a5111e2bed3cd0f0a7 /arch/sh/mm/tlbflush_64.c | |
parent | 8eda55142080f0373b1f0268fe6d6807f193e713 (diff) | |
download | linux-24ef7fc4dcc57afa0c33166c25bfe7676ffd4296.tar.xz |
sh: Acquire some more page flags for SH-5.
We need some more page flags to hook up _PAGE_WIRED (and eventually
other things). So use the unused PTE bits above the PPN field as no
implementations use these for anything currently.
Now that we have _PAGE_WIRED let's provide the SH-5 functions for wiring
up TLB entries.
Signed-off-by: Matt Fleming <matt@console-pimps.org>
Diffstat (limited to 'arch/sh/mm/tlbflush_64.c')
-rw-r--r-- | arch/sh/mm/tlbflush_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/mm/tlbflush_64.c b/arch/sh/mm/tlbflush_64.c index de0b0e881823..706da1d3a67a 100644 --- a/arch/sh/mm/tlbflush_64.c +++ b/arch/sh/mm/tlbflush_64.c @@ -36,7 +36,7 @@ extern void die(const char *,struct pt_regs *,long); static inline void print_prots(pgprot_t prot) { - printk("prot is 0x%08lx\n",pgprot_val(prot)); + printk("prot is 0x%016llx\n",pgprot_val(prot)); printk("%s %s %s %s %s\n",PPROT(_PAGE_SHARED),PPROT(_PAGE_READ), PPROT(_PAGE_EXECUTE),PPROT(_PAGE_WRITE),PPROT(_PAGE_USER)); |