Skip to content

Commit

Permalink
CRIS: Fasttimer: Remove obsolete ifdef
Browse files Browse the repository at this point in the history
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
  • Loading branch information
Jesper Nilsson committed Aug 4, 2010
1 parent 5866d7e commit d77eab8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions arch/cris/arch-v10/kernel/fasttimer.c
Original file line number Diff line number Diff line change
Expand Up @@ -467,11 +467,7 @@ timer1_handler(int irq, void *dev_id)

static void wake_up_func(unsigned long data)
{
#ifdef DECLARE_WAITQUEUE
wait_queue_head_t *sleep_wait_p = (wait_queue_head_t*)data;
#else
struct wait_queue **sleep_wait_p = (struct wait_queue **)data;
#endif
wait_queue_head_t *sleep_wait_p = (wait_queue_head_t *)data;
wake_up(sleep_wait_p);
}

Expand Down

0 comments on commit d77eab8

Please sign in to comment.