static void pvr2_context_poll(struct work_struct *work) { struct pvr2_context *mp = container_of(work, struct pvr2_context, workpoll); pvr2_context_enter(mp); do { pvr2_hdw_poll(mp->hdw); } while (0); pvr2_context_exit(mp); }
static void pvr2_context_poll(struct pvr2_context *mp) { pvr2_context_enter(mp); do { pvr2_hdw_poll(mp->hdw); } while (0); pvr2_context_exit(mp); }