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.

ipc: Kill bogus dependency on spinlock.h

pruning sched.h dependencies, headers shouldn't pull in more than they
need.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>

+3 -1
+1 -1
include/linux/ipc.h
··· 2 2 #ifndef _LINUX_IPC_H 3 3 #define _LINUX_IPC_H 4 4 5 - #include <linux/spinlock.h> 5 + #include <linux/spinlock_types.h> 6 6 #include <linux/uidgid.h> 7 7 #include <linux/rhashtable-types.h> 8 8 #include <uapi/linux/ipc.h>
+2
include/linux/sched.h
··· 2139 2139 extern unsigned long get_wchan(struct task_struct *p); 2140 2140 extern struct task_struct *cpu_curr_snapshot(int cpu); 2141 2141 2142 + #include <linux/spinlock.h> 2143 + 2142 2144 /* 2143 2145 * In order to reduce various lock holder preemption latencies provide an 2144 2146 * interface to see if a vCPU is currently running or not.