summaryrefslogtreecommitdiffstats
path: root/kernel/cgroup_debug.c
diff options
context:
space:
mode:
authorMark Lord <liml@rtr.ca>2008-04-19 15:07:18 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-04-25 01:25:57 -0400
commita3718c1f230240361ed92d3e53342df0ff7efa8c (patch)
treec28b8fadb5f926868c6689d83ad08f669d63a948 /kernel/cgroup_debug.c
parentfcfb1f77cea81f74d865b4d33f2e452ffa1973e8 (diff)
downloadblackbird-op-linux-a3718c1f230240361ed92d3e53342df0ff7efa8c.tar.gz
blackbird-op-linux-a3718c1f230240361ed92d3e53342df0ff7efa8c.zip
sata_mv: tidy host controller interrupt handling
Tidy up host controller interrupt handling, by moving the weirdo bit shifting from mv_interrupt() to mv_host_intr(). This lets us take advantage of the MV_PORT_TO_SHIFT_AND_HARDPORT() macro from an earlier patch to greatly simplify the port numbering logic. Also, defer reading the hc_irq_cause (one per hc) until it is actually proven to be needed. This may save a microsecond or so per interrupt, on average (a later patchset will further reduce unnecessary register reads throughout the driver). Apart from that, we still leave the actual IRQ handling logic alone. Subsequent patches in this series will address that. Signed-off-by: Mark Lord <mlord@pobox.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'kernel/cgroup_debug.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud