]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
linuxkpi: Move shmem related functions in it's own file
authormanu <manu@FreeBSD.org>
Fri, 21 Feb 2020 09:28:45 +0000 (09:28 +0000)
committermanu <manu@FreeBSD.org>
Fri, 21 Feb 2020 09:28:45 +0000 (09:28 +0000)
commit939cf3d6d51350ce8137b81233f7018d9a6e99cd
tree70c00ecb0440024d733bbc9f417d31a30eee2fca
parente28ed617fb4b94ef96b300b7b29669656d4f874b
linuxkpi: Move shmem related functions in it's own file

For drmkpi (D23085) we don't want the Linux struct file as we don't emulate
everything. Also the prototypes should be in shmem_fs.h to have 100%
compatibility with Linux.

Reviewed by: hselasky
MFC after: Maybe
Differential Revision: https://reviews.freebsd.org/D23764
sys/compat/linuxkpi/common/include/linux/fs.h
sys/compat/linuxkpi/common/include/linux/shmem_fs.h [new file with mode: 0644]
sys/compat/linuxkpi/common/src/linux_page.c
sys/compat/linuxkpi/common/src/linux_shmemfs.c [new file with mode: 0644]
sys/conf/files
sys/modules/linuxkpi/Makefile