Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f0b859e3d63a07995f0db294864c2f3c9228f1e4
Commit:     f0b859e3d63a07995f0db294864c2f3c9228f1e4
Parent:     eb695dbf00d572a770358305dae4de2a0680db8f
Author:     Paul Mundt <[EMAIL PROTECTED]>
AuthorDate: Wed Jul 25 10:43:47 2007 +0900
Committer:  Paul Mundt <[EMAIL PROTECTED]>
CommitDate: Wed Jul 25 10:43:47 2007 +0900

    sh: Reclaim beginning of P3 space for vmalloc area.
    
    The first 1MB of P3 space was reserved and used for page colouring,
    as we've reworked that to use fixmaps, we can reclaim the space and
    hand it back to VMALLOC_START.
    
    Signed-off-by: Paul Mundt <[EMAIL PROTECTED]>
---
 arch/sh/mm/cache-sh4.c   |    3 ---
 include/asm-sh/pgtable.h |    6 +-----
 2 files changed, 1 insertions(+), 8 deletions(-)

diff --git a/arch/sh/mm/cache-sh4.c b/arch/sh/mm/cache-sh4.c
index 5d0f73a..8648632 100644
--- a/arch/sh/mm/cache-sh4.c
+++ b/arch/sh/mm/cache-sh4.c
@@ -98,9 +98,6 @@ void __init p3_cache_init(void)
        }
 
        emit_cache_params();
-
-       if (ioremap_page_range(P3SEG, P3SEG + (PAGE_SIZE * 4), 0, PAGE_KERNEL))
-               panic("%s failed.", __FUNCTION__);
 }
 
 /*
diff --git a/include/asm-sh/pgtable.h b/include/asm-sh/pgtable.h
index 22efffe..e3fae12 100644
--- a/include/asm-sh/pgtable.h
+++ b/include/asm-sh/pgtable.h
@@ -55,11 +55,7 @@ extern unsigned long empty_zero_page[PAGE_SIZE / 
sizeof(unsigned long)];
 
 #define PTE_PHYS_MASK          (0x20000000 - PAGE_SIZE)
 
-/*
- * First 1MB map is used by fixed purpose.
- * Currently only 4-entry (16kB) is used (see arch/sh/mm/cache.c)
- */
-#define VMALLOC_START  (P3SEG+0x00100000)
+#define VMALLOC_START  (P3SEG)
 #define VMALLOC_END    (FIXADDR_START-2*PAGE_SIZE)
 
 /*
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to