diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-11 21:58:25 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-21 03:26:31 +0300 |
commit | bc46ef3cea3d6f63952d7e29a324e889c34970a8 (patch) | |
tree | c3147c0dea21815c8b924e9f4a2ae6a29ea251f3 /include/linux/shm.h | |
parent | b2fa8443db320c4873feca2588b957439e350890 (diff) | |
download | linux-bc46ef3cea3d6f63952d7e29a324e889c34970a8.tar.xz |
shm: Slim down dependencies
list_head is in types.h, not list.h., and the uapi header wasn't needed.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'include/linux/shm.h')
-rw-r--r-- | include/linux/shm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/shm.h b/include/linux/shm.h index d8e69aed3d32..c55bef0538e5 100644 --- a/include/linux/shm.h +++ b/include/linux/shm.h @@ -2,12 +2,12 @@ #ifndef _LINUX_SHM_H_ #define _LINUX_SHM_H_ -#include <linux/list.h> +#include <linux/types.h> #include <asm/page.h> -#include <uapi/linux/shm.h> #include <asm/shmparam.h> struct file; +struct task_struct; #ifdef CONFIG_SYSVIPC struct sysv_shm { |