git: c3593fcdfb0d - stable/13 - smist: Remove unneeded Giant from bus_dma_tag_create().

From: Alexander Motin <mav_at_FreeBSD.org>
Date: Fri, 24 Dec 2021 01:16:32 UTC
The branch stable/13 has been updated by mav:

URL: https://cgit.FreeBSD.org/src/commit/?id=c3593fcdfb0d3d79dbad1f5fb358ede6ef7524f5

commit c3593fcdfb0d3d79dbad1f5fb358ede6ef7524f5
Author:     Alexander Motin <mav@FreeBSD.org>
AuthorDate: 2021-12-10 01:54:22 +0000
Commit:     Alexander Motin <mav@FreeBSD.org>
CommitDate: 2021-12-24 01:05:24 +0000

    smist: Remove unneeded Giant from bus_dma_tag_create().
    
    bus_dmamap_load() call uses BUS_DMA_NOWAIT.
    
    MFC after:      2 weeks
    
    (cherry picked from commit a69f8104665c7356b08d81728d406c595973672c)
---
 sys/x86/cpufreq/smist.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sys/x86/cpufreq/smist.c b/sys/x86/cpufreq/smist.c
index f95939001ecb..309b725d31ad 100644
--- a/sys/x86/cpufreq/smist.c
+++ b/sys/x86/cpufreq/smist.c
@@ -205,8 +205,7 @@ set_ownership(device_t dev)
 	    /*alignment*/ PAGE_SIZE, /*no boundary*/ 0,
 	    /*lowaddr*/ BUS_SPACE_MAXADDR_32BIT, /*highaddr*/ BUS_SPACE_MAXADDR,
 	    NULL, NULL, /*maxsize*/ PAGE_SIZE, /*segments*/ 1,
-	    /*maxsegsize*/ PAGE_SIZE, 0, busdma_lock_mutex, &Giant,
-	    &tag) != 0) {
+	    /*maxsegsize*/ PAGE_SIZE, 0, NULL, NULL, &tag) != 0) {
 		device_printf(dev, "can't create mem tag\n");
 		return (ENXIO);
 	}