diff options
author | 2008-06-26 20:07:33 +0900 | |
---|---|---|
committer | 2008-06-27 13:01:03 -0700 | |
commit | 3aa50c44628629a6d58f93e0a1244e95a874884e (patch) | |
tree | ac0eac6b246af6422e4731f46fba64bd4b8a251f /lib/bitmap.c | |
parent | pciehp: fix interrupt initialization (diff) | |
download | linux-dev-3aa50c44628629a6d58f93e0a1244e95a874884e.tar.xz linux-dev-3aa50c44628629a6d58f93e0a1244e95a874884e.zip |
pciehp: remove needless command completed interrupt setting
Currently, pciehp driver enables command completed interrupt as follows.
(1) Don't enable at initialization.
(2) Enable command completed interrupt whenever pciehp issues a
command, if the command doesn't attempt to disable the interrupt.
(3) Disable command completed interrupt at driver unloading.
Once we enable command completed interrupt, we don't need to re-enable
it for every command. So we can simplify above steps as follows:
(1) Enable command completed interrupt at initialization.
(2) No special sequence for command completed interrupt.
(3) Disable command completed interrupt at driver unloading.
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions