summaryrefslogtreecommitdiff
path: root/arch/sh/kernel/head_32.S
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-02-17 15:33:30 +0900
committerPaul Mundt <lethal@linux-sh.org>2010-02-17 15:33:30 +0900
commit51becfd96287b3913b13075699433730984e2f4f (patch)
tree2105a0a34e99ee872637ab2f15a8e5c8d890715a /arch/sh/kernel/head_32.S
parent7bdda6209f224aa784a036df54b22cb338d2e859 (diff)
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/kernel/head_32.S')
-rw-r--r--arch/sh/kernel/head_32.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/head_32.S b/arch/sh/kernel/head_32.S
index 83f2b84b58da..91ae76277d8f 100644
--- a/arch/sh/kernel/head_32.S
+++ b/arch/sh/kernel/head_32.S
@@ -236,7 +236,7 @@ ENTRY(_stext)
* r10 = number of entries we've setup so far
*/
mov #0, r1
- mov #PMB_ENTRY_MAX, r0
+ mov #NR_PMB_ENTRIES, r0
.Lagain:
mov.l r1, @r3 /* Clear PMB_ADDR entry */