aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-05-12 03:35:45 -0400
committerDavid S. Miller <davem@davemloft.net>2012-05-12 03:35:45 -0400
commitee906c9e0bc9d3cc7fdfe82fb30f3c3c1318c3ef (patch)
treea33dd677564dd883b9a8c5d20f7b07c395f51ef1 /arch/sparc/kernel
parent6e54e9503ea84f2c3571cda7146fb42184f0d7e6 (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/kernel')
-rw-r--r--arch/sparc/kernel/ioport.c5
-rw-r--r--arch/sparc/kernel/irq.h2
-rw-r--r--arch/sparc/kernel/irq_64.c2
3 files changed, 2 insertions, 7 deletions
diff --git a/arch/sparc/kernel/ioport.c b/arch/sparc/kernel/ioport.c
index 21bd73943f7f..9b93da1c821a 100644
--- a/arch/sparc/kernel/ioport.c
+++ b/arch/sparc/kernel/ioport.c
@@ -381,11 +381,6 @@ static int sbus_map_sg(struct device *dev, struct scatterlist *sg, int n,
381 enum dma_data_direction dir, struct dma_attrs *attrs) 381 enum dma_data_direction dir, struct dma_attrs *attrs)
382{ 382{
383 mmu_get_scsi_sgl(dev, sg, n); 383 mmu_get_scsi_sgl(dev, sg, n);
384
385 /*
386 * XXX sparc64 can return a partial length here. sun4c should do this
387 * but it currently panics if it can't fulfill the request - Anton
388 */
389 return n; 384 return n;
390} 385}
391 386
diff --git a/arch/sparc/kernel/irq.h b/arch/sparc/kernel/irq.h
index 8b946b1bc3b9..593e7a583449 100644
--- a/arch/sparc/kernel/irq.h
+++ b/arch/sparc/kernel/irq.h
@@ -78,7 +78,7 @@ void handler_irq(unsigned int pil, struct pt_regs *regs);
78/* Dave Redman (djhr@tadpole.co.uk) 78/* Dave Redman (djhr@tadpole.co.uk)
79 * changed these to function pointers.. it saves cycles and will allow 79 * changed these to function pointers.. it saves cycles and will allow
80 * the irq dependencies to be split into different files at a later date 80 * the irq dependencies to be split into different files at a later date
81 * sun4c_irq.c, sun4m_irq.c etc so we could reduce the kernel size. 81 * sun4m_irq.c etc so we could reduce the kernel size.
82 * Jakub Jelinek (jj@sunsite.mff.cuni.cz) 82 * Jakub Jelinek (jj@sunsite.mff.cuni.cz)
83 * Changed these to btfixup entities... It saves cycles :) 83 * Changed these to btfixup entities... It saves cycles :)
84 */ 84 */
diff --git a/arch/sparc/kernel/irq_64.c b/arch/sparc/kernel/irq_64.c
index dff2c3d7d370..9bcbbe2c4e7e 100644
--- a/arch/sparc/kernel/irq_64.c
+++ b/arch/sparc/kernel/irq_64.c
@@ -799,7 +799,7 @@ static void kill_prom_timer(void)
799 prom_limit0 = prom_timers->limit0; 799 prom_limit0 = prom_timers->limit0;
800 prom_limit1 = prom_timers->limit1; 800 prom_limit1 = prom_timers->limit1;
801 801
802 /* Just as in sun4c/sun4m PROM uses timer which ticks at IRQ 14. 802 /* Just as in sun4c PROM uses timer which ticks at IRQ 14.
803 * We turn both off here just to be paranoid. 803 * We turn both off here just to be paranoid.
804 */ 804 */
805 prom_timers->limit0 = 0; 805 prom_timers->limit0 = 0;