diff options
Diffstat (limited to 'arch/sh/mm/pmb.c')
-rw-r--r-- | arch/sh/mm/pmb.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sh/mm/pmb.c b/arch/sh/mm/pmb.c index b796b6c021b4..d318fa6caffe 100644 --- a/arch/sh/mm/pmb.c +++ b/arch/sh/mm/pmb.c | |||
@@ -436,6 +436,11 @@ int __uses_jump_to_uncached pmb_init(void) | |||
436 | return 0; | 436 | return 0; |
437 | } | 437 | } |
438 | 438 | ||
439 | bool __in_29bit_mode(void) | ||
440 | { | ||
441 | return (__raw_readl(PMB_PASCR) & PASCR_SE) == 0; | ||
442 | } | ||
443 | |||
439 | static int pmb_seq_show(struct seq_file *file, void *iter) | 444 | static int pmb_seq_show(struct seq_file *file, void *iter) |
440 | { | 445 | { |
441 | int i; | 446 | int i; |