Skip to content
Commit 6bd3bd67 authored by Jeff Garzik's avatar Jeff Garzik
Browse files

drivers/char/ip2: separate polling and irq-driven work entry points



Polling currently calls the irq handler, which loops through all the
boards, calling the work function for all polling boards with work.

irq handling loops through all the boards, finding the specific board
that applies to us, and calling the work just for that one board.

The two logics are sufficiently different to warrant different
functions, rather than being slack and calling the same function in two
different ways.

This serves to make the interrupt handler a -lot- more efficient.

Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent f3518e4e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment