diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/frv/kernel/irq.c | 2 | ||||
-rw-r--r-- | arch/frv/kernel/semaphore.c | 2 | ||||
-rw-r--r-- | arch/frv/kernel/time.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/arch/frv/kernel/irq.c b/arch/frv/kernel/irq.c index 7ddb69089ed4..73abae767fdc 100644 --- a/arch/frv/kernel/irq.c +++ b/arch/frv/kernel/irq.c | |||
@@ -134,7 +134,7 @@ static struct irq_chip frv_cpu_pic = { | |||
134 | }; | 134 | }; |
135 | 135 | ||
136 | /* | 136 | /* |
137 | * handles all normal device IRQ's | 137 | * handles all normal device IRQs |
138 | * - registers are referred to by the __frame variable (GR28) | 138 | * - registers are referred to by the __frame variable (GR28) |
139 | * - IRQ distribution is complicated in this arch because of the many PICs, the | 139 | * - IRQ distribution is complicated in this arch because of the many PICs, the |
140 | * way they work and the way they cascade | 140 | * way they work and the way they cascade |
diff --git a/arch/frv/kernel/semaphore.c b/arch/frv/kernel/semaphore.c index 8e182ced1a0f..7ee3a147b471 100644 --- a/arch/frv/kernel/semaphore.c +++ b/arch/frv/kernel/semaphore.c | |||
@@ -139,7 +139,7 @@ void __up(struct semaphore *sem) | |||
139 | waiter = list_entry(sem->wait_list.next, struct sem_waiter, list); | 139 | waiter = list_entry(sem->wait_list.next, struct sem_waiter, list); |
140 | 140 | ||
141 | /* We must be careful not to touch 'waiter' after we set ->task = NULL. | 141 | /* We must be careful not to touch 'waiter' after we set ->task = NULL. |
142 | * It is an allocated on the waiter's stack and may become invalid at | 142 | * It is allocated on the waiter's stack and may become invalid at |
143 | * any time after that point (due to a wakeup from another source). | 143 | * any time after that point (due to a wakeup from another source). |
144 | */ | 144 | */ |
145 | list_del_init(&waiter->list); | 145 | list_del_init(&waiter->list); |
diff --git a/arch/frv/kernel/time.c b/arch/frv/kernel/time.c index e83e0bccfab9..925fb0199a0f 100644 --- a/arch/frv/kernel/time.c +++ b/arch/frv/kernel/time.c | |||
@@ -66,7 +66,7 @@ static irqreturn_t timer_interrupt(int irq, void *dummy) | |||
66 | /* | 66 | /* |
67 | * Here we are in the timer irq handler. We just have irqs locally | 67 | * Here we are in the timer irq handler. We just have irqs locally |
68 | * disabled but we don't know if the timer_bh is running on the other | 68 | * disabled but we don't know if the timer_bh is running on the other |
69 | * CPU. We need to avoid to SMP race with it. NOTE: we don' t need | 69 | * CPU. We need to avoid to SMP race with it. NOTE: we don't need |
70 | * the irq version of write_lock because as just said we have irq | 70 | * the irq version of write_lock because as just said we have irq |
71 | * locally disabled. -arca | 71 | * locally disabled. -arca |
72 | */ | 72 | */ |
@@ -126,7 +126,7 @@ void time_init(void) | |||
126 | 126 | ||
127 | /* FIX by dqg : Set to zero for platforms that don't have tod */ | 127 | /* FIX by dqg : Set to zero for platforms that don't have tod */ |
128 | /* without this time is undefined and can overflow time_t, causing */ | 128 | /* without this time is undefined and can overflow time_t, causing */ |
129 | /* very stange errors */ | 129 | /* very strange errors */ |
130 | year = 1980; | 130 | year = 1980; |
131 | mon = day = 1; | 131 | mon = day = 1; |
132 | hour = min = sec = 0; | 132 | hour = min = sec = 0; |