aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris/arch-v10/kernel/fasttimer.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/cris/arch-v10/kernel/fasttimer.c')
-rw-r--r--arch/cris/arch-v10/kernel/fasttimer.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/cris/arch-v10/kernel/fasttimer.c b/arch/cris/arch-v10/kernel/fasttimer.c
index 5ff08a8695e9..8a8196ee8ce8 100644
--- a/arch/cris/arch-v10/kernel/fasttimer.c
+++ b/arch/cris/arch-v10/kernel/fasttimer.c
@@ -467,11 +467,7 @@ timer1_handler(int irq, void *dev_id)
467 467
468static void wake_up_func(unsigned long data) 468static void wake_up_func(unsigned long data)
469{ 469{
470#ifdef DECLARE_WAITQUEUE 470 wait_queue_head_t *sleep_wait_p = (wait_queue_head_t *)data;
471 wait_queue_head_t *sleep_wait_p = (wait_queue_head_t*)data;
472#else
473 struct wait_queue **sleep_wait_p = (struct wait_queue **)data;
474#endif
475 wake_up(sleep_wait_p); 471 wake_up(sleep_wait_p);
476} 472}
477 473