diff options
author | 2024-04-08 10:11:37 -0700 | |
---|---|---|
committer | 2024-04-08 10:11:37 -0700 | |
commit | 4f0a8fe3215c432234baed20eb8210efe1c32b10 (patch) | |
tree | 9e513635536597b2c6dc82deca43c246c9e39028 /include | |
parent | Linux 6.9-rc3 (diff) | |
parent | memblock tests: fix undefined reference to `BIT' (diff) | |
download | linux-4f0a8fe3215c432234baed20eb8210efe1c32b10.tar.gz linux-4f0a8fe3215c432234baed20eb8210efe1c32b10.tar.bz2 linux-4f0a8fe3215c432234baed20eb8210efe1c32b10.zip |
Merge tag 'fixes-2024-04-08' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock
Pull memblock fixes from Mike Rapoport:
"Fix build errors in memblock tests:
- add stubs to functions that calls to them were recently added to
memblock but they were missing in tests
- update gfp_types.h to include bits.h so that BIT() definitions
won't depend on other includes"
* tag 'fixes-2024-04-08' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock:
memblock tests: fix undefined reference to `BIT'
memblock tests: fix undefined reference to `panic'
memblock tests: fix undefined reference to `early_pfn_to_nid'
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/gfp_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/gfp_types.h b/include/linux/gfp_types.h index 868c8fb1bbc1..13becafe41df 100644 --- a/include/linux/gfp_types.h +++ b/include/linux/gfp_types.h @@ -2,6 +2,8 @@ #ifndef __LINUX_GFP_TYPES_H #define __LINUX_GFP_TYPES_H +#include <linux/bits.h> + /* The typedef is in types.h but we want the documentation here */ #if 0 /** |