X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=net%2Fsched%2Fsch_api.c;h=31570b9a6e9aa72cca60d1953c14e47938547ebe;hb=ca30225e9e4c0c74fe781a9fd1d1ad5f85b29c60;hp=737681cb9a928d65800a7e85661b034764683840;hpb=2fcf522509cceea524b6e7ece8fd6759b682175a;p=powerpc.git diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c index 737681cb9a..31570b9a6e 100644 --- a/net/sched/sch_api.c +++ b/net/sched/sch_api.c @@ -1194,7 +1194,7 @@ EXPORT_SYMBOL(psched_time_base); * with 32-bit get_cycles(). Safe up to 4GHz CPU. */ static void psched_tick(unsigned long); -static struct timer_list psched_timer = TIMER_INITIALIZER(psched_tick, 0, 0); +static DEFINE_TIMER(psched_timer, psched_tick, 0, 0); static void psched_tick(unsigned long dummy) {