aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libsas/sas_internal.h
diff options
context:
space:
mode:
authorJohn Garry <[email protected]>2022-02-17 15:42:34 +0000
committerMartin K. Petersen <[email protected]>2022-02-19 20:59:34 +0000
commit4aef43b25df2bc81bebea1aa335a0696ab3a2275 (patch)
tree44e806ace41de675ba14823402ede83e2bfd8c64 /drivers/scsi/libsas/sas_internal.h
parentscsi: hisi_sas: Delete unused I_T_NEXUS_RESET_PHYUP_TIMEOUT (diff)
downloadkernel-4aef43b25df2bc81bebea1aa335a0696ab3a2275.tar.gz
kernel-4aef43b25df2bc81bebea1aa335a0696ab3a2275.zip
scsi: libsas: Move SMP task handlers to core
Move the SMP task handlers to the core host code as they will be re-used for executing internal abort and TMF tasks. Link: https://lore.kernel.org/r/[email protected] Tested-by: Yihang Li <[email protected]> Tested-by: Damien Le Moal <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: John Garry <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/scsi/libsas/sas_internal.h')
-rw-r--r--drivers/scsi/libsas/sas_internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/libsas/sas_internal.h b/drivers/scsi/libsas/sas_internal.h
index acd515c01861..cd6aa723c3e1 100644
--- a/drivers/scsi/libsas/sas_internal.h
+++ b/drivers/scsi/libsas/sas_internal.h
@@ -95,6 +95,9 @@ void sas_destruct_devices(struct asd_sas_port *port);
extern const work_func_t sas_phy_event_fns[PHY_NUM_EVENTS];
extern const work_func_t sas_port_event_fns[PORT_NUM_EVENTS];
+void sas_task_internal_done(struct sas_task *task);
+void sas_task_internal_timedout(struct timer_list *t);
+
#ifdef CONFIG_SCSI_SAS_HOST_SMP
extern void sas_smp_host_handler(struct bsg_job *job, struct Scsi_Host *shost);
#else