diff options
author | Wei Yang <richard.weiyang@gmail.com> | 2024-08-06 01:03:18 +0000 |
---|---|---|
committer | Mike Rapoport (Microsoft) <rppt@kernel.org> | 2024-08-06 08:21:25 +0300 |
commit | 8ac13bc7c266102f1068faafa5314522b68ebe65 (patch) | |
tree | 976dcedf9c154c73bff43d408b7eec06b0ebd9d0 | |
parent | a88cde5769d523e4ae6aad61237e4a5f6bd2309a (diff) |
memblock test: fix implicit declaration of function 'isspace'
Commit 1e4c64b71c9b ("mm/memblock: Add "reserve_mem" to reserved named
memory at boot up") introduce usage of isspace().
Let's include <linux/ctype.h> in kernel.h to fix this.
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Link: https://lore.kernel.org/r/20240806010319.29194-4-richard.weiyang@gmail.com
Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
-rw-r--r-- | tools/testing/memblock/linux/kernel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/memblock/linux/kernel.h b/tools/testing/memblock/linux/kernel.h index c16d9cd2d1ae..4d1012d5be6e 100644 --- a/tools/testing/memblock/linux/kernel.h +++ b/tools/testing/memblock/linux/kernel.h @@ -9,5 +9,6 @@ #include <linux/linkage.h> #include <linux/kconfig.h> #include <linux/string.h> +#include <linux/ctype.h> #endif |