summaryrefslogtreecommitdiffstats
path: root/sys/arm/xscale/i80321/i80321_timer.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2012-06-13 04:38:09 +0000
committerimp <imp@FreeBSD.org>2012-06-13 04:38:09 +0000
commit9c79840660b2f9b8a907963b712459fed47280a3 (patch)
tree7ad130eee3a5a74489655ff784caf06c0f5a2629 /sys/arm/xscale/i80321/i80321_timer.c
parent262e4e322b4145a888fa95ca14c79cb0e2a8fb93 (diff)
downloadFreeBSD-src-9c79840660b2f9b8a907963b712459fed47280a3.zip
FreeBSD-src-9c79840660b2f9b8a907963b712459fed47280a3.tar.gz
trim trailing spaces that have accumulated over the years (these files
served as the basis for too many other platforms).
Diffstat (limited to 'sys/arm/xscale/i80321/i80321_timer.c')
-rw-r--r--sys/arm/xscale/i80321/i80321_timer.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arm/xscale/i80321/i80321_timer.c b/sys/arm/xscale/i80321/i80321_timer.c
index 78492b8..98c1805 100644
--- a/sys/arm/xscale/i80321/i80321_timer.c
+++ b/sys/arm/xscale/i80321/i80321_timer.c
@@ -62,7 +62,7 @@ __FBSDID("$FreeBSD$");
#include <arm/xscale/i80321/i80321var.h>
#ifdef CPU_XSCALE_81342
-#define ICU_INT_TIMER0 (8) /* XXX: Can't include i81342reg.h because
+#define ICU_INT_TIMER0 (8) /* XXX: Can't include i81342reg.h because
definitions overrides the ones from i80321reg.h
*/
#endif
@@ -79,7 +79,7 @@ static unsigned i80321_timer_get_timecount(struct timecounter *tc);
static uint32_t counts_per_hz;
-#if defined(XSCALE_DISABLE_CCNT) || defined(CPU_XSCALE_81342)
+#if defined(XSCALE_DISABLE_CCNT) || defined(CPU_XSCALE_81342)
static uint32_t offset;
static uint32_t last = -1;
#endif
@@ -383,17 +383,17 @@ cpu_initclocks(void)
oldirqstate = disable_interrupts(I32_bit);
- irq = bus_alloc_resource(dev, SYS_RES_IRQ, &rid,
+ irq = bus_alloc_resource(dev, SYS_RES_IRQ, &rid,
#ifdef CPU_XSCALE_81342
ICU_INT_TIMER0, ICU_INT_TIMER0,
#else
- ICU_INT_TMR0, ICU_INT_TMR0,
+ ICU_INT_TMR0, ICU_INT_TMR0,
#endif
1, RF_ACTIVE);
if (!irq)
panic("Unable to setup the clock irq handler.\n");
else
- bus_setup_intr(dev, irq, INTR_TYPE_CLK, clockhandler, NULL,
+ bus_setup_intr(dev, irq, INTR_TYPE_CLK, clockhandler, NULL,
NULL, &ihl);
tmr0_write(0); /* stop timer */
tisr_write(TISR_TMR0); /* clear interrupt */
OpenPOWER on IntegriCloud