core.h (5a84d159061d914c8dd4aa372ac6e9529c2be453) core.h (b24b8a247ff65c01b252025926fe564209fae4fc)
1/*
2 * net/tipc/core.h: Include file for TIPC global declarations
3 *
4 * Copyright (c) 2005-2006, Ericsson AB
5 * Copyright (c) 2005-2006, Wind River Systems
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 198 unchanged lines hidden (view full) ---

207 *
208 * Timer must be initialized before use (and terminated when no longer needed).
209 */
210
211static inline void k_init_timer(struct timer_list *timer, Handler routine,
212 unsigned long argument)
213{
214 dbg("initializing timer %p\n", timer);
1/*
2 * net/tipc/core.h: Include file for TIPC global declarations
3 *
4 * Copyright (c) 2005-2006, Ericsson AB
5 * Copyright (c) 2005-2006, Wind River Systems
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 198 unchanged lines hidden (view full) ---

207 *
208 * Timer must be initialized before use (and terminated when no longer needed).
209 */
210
211static inline void k_init_timer(struct timer_list *timer, Handler routine,
212 unsigned long argument)
213{
214 dbg("initializing timer %p\n", timer);
215 init_timer(timer);
216 timer->function = routine;
217 timer->data = argument;
215 setup_timer(timer, routine, argument);
218}
219
220/**
221 * k_start_timer - start a timer
222 * @timer: pointer to timer structure
223 * @msec: time to delay (in ms)
224 *
225 * Schedules a previously initialized timer for later execution.

--- 112 unchanged lines hidden ---
216}
217
218/**
219 * k_start_timer - start a timer
220 * @timer: pointer to timer structure
221 * @msec: time to delay (in ms)
222 *
223 * Schedules a previously initialized timer for later execution.

--- 112 unchanged lines hidden ---