]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
linuxkpi: move io_mapping_create_wc to .c
authorWarner Losh <imp@FreeBSD.org>
Tue, 5 Apr 2022 05:06:37 +0000 (23:06 -0600)
committerWarner Losh <imp@FreeBSD.org>
Wed, 6 Apr 2022 17:45:46 +0000 (11:45 -0600)
commitbf1dea8f1bdfbe7df9186351ed68d2cda644123a
treee95d91737d9248a487f5939f30dc89eef69ebcc8
parenta84ef318c658f6b7901299ff129136ea3afffe8b
linuxkpi: move io_mapping_create_wc to .c

Move io_mapping_create_wc to .c because it encodes the size of struct
io_mapping so we move this from the client module to the linuxkpi
module.

Approved by: re@ (gjb)
Sponsored by: Netflix
Reviewed by: hselasky, emaste
Differential Revision: https://reviews.freebsd.org/D34776

(cherry picked from commit 132b00f90613d8cc797137d4c3d2dcb99ba3c690)
(cherry picked from commit 4e94b3542dd6a5c3f60431e811013f4dbf603227)
sys/compat/linuxkpi/common/include/linux/io-mapping.h
sys/compat/linuxkpi/common/src/linux_compat.c