diff options
author | Tejun Heo <[email protected]> | 2010-09-21 09:25:48 +0200 |
---|---|---|
committer | Jeff Garzik <[email protected]> | 2010-09-28 15:14:51 -0400 |
commit | fad16e7a7f67eef8d33f8ad58850db89382b09ce (patch) | |
tree | 09afb3e939cd4cc85e6aec76965c16fcc03c5798 /tools/perf/scripts/python | |
parent | 050026feae5bd4fe2db4096b63b15abce7c47faa (diff) |
ahci: fix module refcount breakage introduced by libahci split
libata depends on scsi_host_template for module reference counting and
sht's should be owned by each low level driver. During libahci split,
the sht was left with libahci.ko leaving the actual low level drivers
not reference counted. This made ahci and ahci_platform always
unloadable even while they're being actively used.
Fix it by defining AHCI_SHT() macro in ahci.h and defining a sht for
each low level ahci driver.
stable: only applicable to 2.6.35.
Signed-off-by: Tejun Heo <[email protected]>
Reported-by: Pedro Francisco <[email protected]>
Tested-by: Michael Tokarev <[email protected]>
Cc: [email protected]
Signed-off-by: Jeff Garzik <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions