From 19b7087397c76fe1432193c0830e91c6838ccf7f Mon Sep 17 00:00:00 2001 From: Chukun Pan Date: Wed, 16 Jun 2021 00:03:40 +0800 Subject: [PATCH] exfat: fix build on x86 with 4.19 kernel This should fix: balloc.c:325:7: error: implicit declaration of function 'fatal_signal_pending'; did you mean 'mod_timer_pending'? [-Werror=implicit-function-declaration] if (fatal_signal_pending(current)) { ^~~~~~~~~~~~~~~~~~~~ mod_timer_pending cc1: some warnings being treated as errors Signed-off-by: Chukun Pan --- balloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/balloc.c b/balloc.c index c6807392183e..a7a24acd39cc 100644 --- a/balloc.c +++ b/balloc.c @@ -7,7 +7,7 @@ #include #include #include -#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0) #include #endif