diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-02-17 15:33:30 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-02-17 15:33:30 +0900 |
commit | 51becfd96287b3913b13075699433730984e2f4f (patch) | |
tree | 2105a0a34e99ee872637ab2f15a8e5c8d890715a /arch/sh/include | |
parent | 7bdda6209f224aa784a036df54b22cb338d2e859 (diff) | |
download | op-kernel-dev-51becfd96287b3913b13075699433730984e2f4f.zip op-kernel-dev-51becfd96287b3913b13075699433730984e2f4f.tar.gz |
sh: PMB tidying.
Some overdue cleanup of the PMB code, killing off unused functionality
and duplication sprinkled about the tree.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include')
-rw-r--r-- | arch/sh/include/asm/mmu.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/sh/include/asm/mmu.h b/arch/sh/include/asm/mmu.h index 151bc92..44c9043 100644 --- a/arch/sh/include/asm/mmu.h +++ b/arch/sh/include/asm/mmu.h @@ -11,7 +11,9 @@ #define PMB_ADDR 0xf6100000 #define PMB_DATA 0xf7100000 -#define PMB_ENTRY_MAX 16 + +#define NR_PMB_ENTRIES 16 + #define PMB_E_MASK 0x0000000f #define PMB_E_SHIFT 8 |