Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

+6 -2
+1
arch/parisc/mm/init.c
··· 33 33 #include <asm/msgbuf.h> 34 34 #include <asm/sparsemem.h> 35 35 #include <asm/asm-offsets.h> 36 + #include <asm/shmbuf.h> 36 37 37 38 extern int data_start; 38 39 extern void parisc_kernel_start(void); /* Kernel entry point in head.S */
+2 -2
include/linux/shm.h
··· 2 2 #ifndef _LINUX_SHM_H_ 3 3 #define _LINUX_SHM_H_ 4 4 5 - #include <linux/list.h> 5 + #include <linux/types.h> 6 6 #include <asm/page.h> 7 - #include <uapi/linux/shm.h> 8 7 #include <asm/shmparam.h> 9 8 10 9 struct file; 10 + struct task_struct; 11 11 12 12 #ifdef CONFIG_SYSVIPC 13 13 struct sysv_shm {
+1
ipc/shm.c
··· 29 29 #include <linux/mm.h> 30 30 #include <linux/hugetlb.h> 31 31 #include <linux/shm.h> 32 + #include <uapi/linux/shm.h> 32 33 #include <linux/init.h> 33 34 #include <linux/file.h> 34 35 #include <linux/mman.h>
+1
security/selinux/hooks.c
··· 85 85 #include <linux/export.h> 86 86 #include <linux/msg.h> 87 87 #include <linux/shm.h> 88 + #include <uapi/linux/shm.h> 88 89 #include <linux/bpf.h> 89 90 #include <linux/kernfs.h> 90 91 #include <linux/stringhash.h> /* for hashlen_string() */
+1
security/smack/smack_lsm.c
··· 37 37 #include <linux/personality.h> 38 38 #include <linux/msg.h> 39 39 #include <linux/shm.h> 40 + #include <uapi/linux/shm.h> 40 41 #include <linux/binfmts.h> 41 42 #include <linux/parser.h> 42 43 #include <linux/fs_context.h>