all: include linux/pagemap.h for newer kernels

This commit is contained in:
Thomas Schoebel-Theuer 2022-07-21 10:16:42 +02:00
parent bc2545bc98
commit 0213d4d461
4 changed files with 4 additions and 1 deletions

View File

@ -25,7 +25,7 @@
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/string.h> #include <linux/string.h>
#include <linux/pagemap.h>
#include "brick_say.h" #include "brick_say.h"
#include "lamport.h" #include "lamport.h"

View File

@ -32,6 +32,7 @@
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include <linux/wait.h> #include <linux/wait.h>
#include <linux/file.h> #include <linux/file.h>
#include <linux/pagemap.h>
/* needed for symlink checking */ /* needed for symlink checking */
#include "sy_old/strategy.h" #include "sy_old/strategy.h"

View File

@ -35,6 +35,7 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/string.h> #include <linux/string.h>
#include <linux/bio.h> #include <linux/bio.h>
#include <linux/pagemap.h>
#include "mars.h" #include "mars.h"
#include "lib_timing.h" #include "lib_timing.h"

View File

@ -38,6 +38,7 @@
#include <linux/mount.h> #include <linux/mount.h>
#include <linux/utsname.h> #include <linux/utsname.h>
#include <linux/crc32c.h> #include <linux/crc32c.h>
#include <linux/pagemap.h>
#include "strategy.h" #include "strategy.h"