X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=kernel%2Ftimer.c;h=68a9ae7679b717f6eb4782ce5114ad405dec5a4c;hb=c3d9d74336c10c133ed062a1d778d457c6a46422;hp=97bf05baade7cb4b9db4a5b76cf26255b6a67753;hpb=78ab952717b62c0ba6ca7f7a27eaa0486685e45f;p=pandora-kernel.git diff --git a/kernel/timer.c b/kernel/timer.c index 97bf05baade7..68a9ae7679b7 100644 --- a/kernel/timer.c +++ b/kernel/timer.c @@ -37,7 +37,7 @@ #include #include #include -#include +#include #include #include @@ -1279,7 +1279,10 @@ void update_process_times(int user_tick) run_local_timers(); rcu_check_callbacks(cpu, user_tick); printk_tick(); - perf_event_do_pending(); +#ifdef CONFIG_IRQ_WORK + if (in_irq()) + irq_work_run(); +#endif scheduler_tick(); run_posix_cpu_timers(p); }