]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
linux 5.4 compat: page_size()
authorRob Norris <rob.norris@klarasystems.com>
Mon, 13 Nov 2023 06:55:29 +0000 (17:55 +1100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 25 Mar 2024 23:48:15 +0000 (16:48 -0700)
commitdf04efe321a49c650f1fbaa6fd701fa2928cbe21
tree6bc01d0a40b1aec58ce882fce2839740cd820f30
parentf68bde7236699353b89de176fd35f7fa92bfc30b
linux 5.4 compat: page_size()

Before 5.4 we have to do a little math.

Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Closes #15533
Closes #15588
config/kernel-mm-page-size.m4 [new file with mode: 0644]
config/kernel.m4
include/os/linux/Makefile.am
include/os/linux/kernel/linux/mm_compat.h [new file with mode: 0644]