|
@@ -4591,7 +4591,7 @@ lpfc_sli_brdrestart_s3(struct lpfc_hba *phba)
|
|
spin_unlock_irq(&phba->hbalock);
|
|
spin_unlock_irq(&phba->hbalock);
|
|
|
|
|
|
memset(&psli->lnk_stat_offsets, 0, sizeof(psli->lnk_stat_offsets));
|
|
memset(&psli->lnk_stat_offsets, 0, sizeof(psli->lnk_stat_offsets));
|
|
- psli->stats_start = get_seconds();
|
|
|
|
|
|
+ psli->stats_start = ktime_get_seconds();
|
|
|
|
|
|
/* Give the INITFF and Post time to settle. */
|
|
/* Give the INITFF and Post time to settle. */
|
|
mdelay(100);
|
|
mdelay(100);
|
|
@@ -4638,7 +4638,7 @@ lpfc_sli_brdrestart_s4(struct lpfc_hba *phba)
|
|
spin_unlock_irq(&phba->hbalock);
|
|
spin_unlock_irq(&phba->hbalock);
|
|
|
|
|
|
memset(&psli->lnk_stat_offsets, 0, sizeof(psli->lnk_stat_offsets));
|
|
memset(&psli->lnk_stat_offsets, 0, sizeof(psli->lnk_stat_offsets));
|
|
- psli->stats_start = get_seconds();
|
|
|
|
|
|
+ psli->stats_start = ktime_get_seconds();
|
|
|
|
|
|
/* Reset HBA AER if it was enabled, note hba_flag was reset above */
|
|
/* Reset HBA AER if it was enabled, note hba_flag was reset above */
|
|
if (hba_aer_enabled)
|
|
if (hba_aer_enabled)
|