diff options
author | David S. Miller <davem@davemloft.net> | 2012-05-12 00:35:45 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-12 00:35:45 -0700 |
commit | ee906c9e0bc9d3cc7fdfe82fb30f3c3c1318c3ef (patch) | |
tree | a33dd677564dd883b9a8c5d20f7b07c395f51ef1 /arch/sparc/mm | |
parent | 6e54e9503ea84f2c3571cda7146fb42184f0d7e6 (diff) |
sparc32: Trivial removal of sun4c references in comments.
I left some around, like the ones in the openprom headers, since
we need to think about which pieces of those datastructures and
code we can completely toss now.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/mm')
-rw-r--r-- | arch/sparc/mm/fault_32.c | 4 | ||||
-rw-r--r-- | arch/sparc/mm/init_32.c | 5 | ||||
-rw-r--r-- | arch/sparc/mm/srmmu.c | 3 |
3 files changed, 3 insertions, 9 deletions
diff --git a/arch/sparc/mm/fault_32.c b/arch/sparc/mm/fault_32.c index dd020b2a6508..5d37f1f8142c 100644 --- a/arch/sparc/mm/fault_32.c +++ b/arch/sparc/mm/fault_32.c @@ -235,10 +235,6 @@ asmlinkage void do_sparc_fault(struct pt_regs *regs, int text_fault, int write, retry: down_read(&mm->mmap_sem); - /* - * The kernel referencing a bad kernel pointer can lock up - * a sun4c machine completely, so we must attempt recovery. - */ if(!from_user && address >= PAGE_OFFSET) goto bad_area; diff --git a/arch/sparc/mm/init_32.c b/arch/sparc/mm/init_32.c index 21342db00a09..753676ccdc65 100644 --- a/arch/sparc/mm/init_32.c +++ b/arch/sparc/mm/init_32.c @@ -289,9 +289,8 @@ unsigned long __init bootmem_init(unsigned long *pages_avail) * check_pgt_cache * * This is called at the end of unmapping of VMA (zap_page_range), - * to rescan the page cache for architecture specific things, - * presumably something like sun4/sun4c PMEGs. Most architectures - * define check_pgt_cache empty. + * to rescan the page cache for architecture specific things. + * Most architectures define check_pgt_cache empty. * * We simply copy the 2.4 implementation for now. */ diff --git a/arch/sparc/mm/srmmu.c b/arch/sparc/mm/srmmu.c index d85da15d4183..564269de96cf 100644 --- a/arch/sparc/mm/srmmu.c +++ b/arch/sparc/mm/srmmu.c @@ -647,8 +647,7 @@ static void srmmu_unmapiorange(unsigned long virt_addr, unsigned int len) * pool. As a side effect we are putting a little too much pressure * on the gfp() subsystem. This setup also makes the logic of the * iommu mapping code a lot easier as we can transparently handle - * mappings on the kernel stack without any special code as we did - * need on the sun4c. + * mappings on the kernel stack without any special code. */ struct thread_info *alloc_thread_info_node(struct task_struct *tsk, int node) { |