diff options
author | Ingo Molnar <mingo@kernel.org> | 2022-02-17 08:29:03 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2022-03-15 12:57:29 +0100 |
commit | 5020ff4bfa6aa7060baf3bef271f837af437ca93 (patch) | |
tree | 33d7374b1428568a6688a5bc143dd9f2e0735013 /mm | |
parent | c158a27b51a16fc701f4a43423af5eac3653ba1a (diff) | |
download | tip-5020ff4bfa6aa7060baf3bef271f837af437ca93.tar.gz |
headers/deps: mm: Optimize <linux/mm_api.h> dependencies, remove <linux/gfp_api.h> inclusion
--------------------------------------------------------------------
| Combined, preprocessed C code size of header, without line markers,
| with comments stripped:
-------------------------
before: | #include <linux/mm_api.h> | LOC: 14,097 | headers: 341
after: | #include <linux/mm_api.h> | LOC: 13,982 | headers: 340
Fix up dangling dependencies.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/slab.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mm/slab.h b/mm/slab.h index c7f2abc2b154c1..b7a7d629c62697 100644 --- a/mm/slab.h +++ b/mm/slab.h @@ -1,6 +1,9 @@ /* SPDX-License-Identifier: GPL-2.0 */ #ifndef MM_SLAB_H #define MM_SLAB_H + +#include <linux/gfp_api.h> + /* * Internal slab definitions */ |