diff options
author | David S. Miller <davem@davemloft.net> | 2012-05-12 03:35:45 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-12 03:35:45 -0400 |
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, | |||
235 | retry: | 235 | retry: |
236 | down_read(&mm->mmap_sem); | 236 | down_read(&mm->mmap_sem); |
237 | 237 | ||
238 | /* | ||
239 | * The kernel referencing a bad kernel pointer can lock up | ||
240 | * a sun4c machine completely, so we must attempt recovery. | ||
241 | */ | ||
242 | if(!from_user && address >= PAGE_OFFSET) | 238 | if(!from_user && address >= PAGE_OFFSET) |
243 | goto bad_area; | 239 | goto bad_area; |
244 | 240 | ||
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) | |||
289 | * check_pgt_cache | 289 | * check_pgt_cache |
290 | * | 290 | * |
291 | * This is called at the end of unmapping of VMA (zap_page_range), | 291 | * This is called at the end of unmapping of VMA (zap_page_range), |
292 | * to rescan the page cache for architecture specific things, | 292 | * to rescan the page cache for architecture specific things. |
293 | * presumably something like sun4/sun4c PMEGs. Most architectures | 293 | * Most architectures define check_pgt_cache empty. |
294 | * define check_pgt_cache empty. | ||
295 | * | 294 | * |
296 | * We simply copy the 2.4 implementation for now. | 295 | * We simply copy the 2.4 implementation for now. |
297 | */ | 296 | */ |
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) | |||
647 | * pool. As a side effect we are putting a little too much pressure | 647 | * pool. As a side effect we are putting a little too much pressure |
648 | * on the gfp() subsystem. This setup also makes the logic of the | 648 | * on the gfp() subsystem. This setup also makes the logic of the |
649 | * iommu mapping code a lot easier as we can transparently handle | 649 | * iommu mapping code a lot easier as we can transparently handle |
650 | * mappings on the kernel stack without any special code as we did | 650 | * mappings on the kernel stack without any special code. |
651 | * need on the sun4c. | ||
652 | */ | 651 | */ |
653 | struct thread_info *alloc_thread_info_node(struct task_struct *tsk, int node) | 652 | struct thread_info *alloc_thread_info_node(struct task_struct *tsk, int node) |
654 | { | 653 | { |