mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 04:18:39 +08:00
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>
This commit is contained in:
parent
b2fa8443db
commit
bc46ef3cea
@ -33,6 +33,7 @@
|
||||
#include <asm/msgbuf.h>
|
||||
#include <asm/sparsemem.h>
|
||||
#include <asm/asm-offsets.h>
|
||||
#include <asm/shmbuf.h>
|
||||
|
||||
extern int data_start;
|
||||
extern void parisc_kernel_start(void); /* Kernel entry point in head.S */
|
||||
|
@ -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 {
|
||||
|
@ -29,6 +29,7 @@
|
||||
#include <linux/mm.h>
|
||||
#include <linux/hugetlb.h>
|
||||
#include <linux/shm.h>
|
||||
#include <uapi/linux/shm.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/file.h>
|
||||
#include <linux/mman.h>
|
||||
|
@ -85,6 +85,7 @@
|
||||
#include <linux/export.h>
|
||||
#include <linux/msg.h>
|
||||
#include <linux/shm.h>
|
||||
#include <uapi/linux/shm.h>
|
||||
#include <linux/bpf.h>
|
||||
#include <linux/kernfs.h>
|
||||
#include <linux/stringhash.h> /* for hashlen_string() */
|
||||
|
@ -37,6 +37,7 @@
|
||||
#include <linux/personality.h>
|
||||
#include <linux/msg.h>
|
||||
#include <linux/shm.h>
|
||||
#include <uapi/linux/shm.h>
|
||||
#include <linux/binfmts.h>
|
||||
#include <linux/parser.h>
|
||||
#include <linux/fs_context.h>
|
||||
|
Loading…
Reference in New Issue
Block a user