summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/tile/mm/init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/tile/mm/init.c b/arch/tile/mm/init.c
index 0fa1acfac79a..7ba1dc3d41fa 100644
--- a/arch/tile/mm/init.c
+++ b/arch/tile/mm/init.c
@@ -273,9 +273,9 @@ static pgprot_t __init init_pgprot(ulong address)
273 /* 273 /*
274 * Otherwise we just hand out consecutive cpus. To avoid 274 * Otherwise we just hand out consecutive cpus. To avoid
275 * requiring this function to hold state, we just walk forward from 275 * requiring this function to hold state, we just walk forward from
276 * _sdata by PAGE_SIZE, skipping the readonly and init data, to reach 276 * __end_rodata by PAGE_SIZE, skipping the readonly and init data, to
277 * the requested address, while walking cpu home around kdata_mask. 277 * reach the requested address, while walking cpu home around
278 * This is typically no more than a dozen or so iterations. 278 * kdata_mask. This is typically no more than a dozen or so iterations.
279 */ 279 */
280 page = (((ulong)__end_rodata) + PAGE_SIZE - 1) & PAGE_MASK; 280 page = (((ulong)__end_rodata) + PAGE_SIZE - 1) & PAGE_MASK;
281 BUG_ON(address < page || address >= (ulong)_end); 281 BUG_ON(address < page || address >= (ulong)_end);