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
5 changed files with 6 additions and 2 deletions
|
@ -33,6 +33,7 @@
|
||||||
#include <asm/msgbuf.h>
|
#include <asm/msgbuf.h>
|
||||||
#include <asm/sparsemem.h>
|
#include <asm/sparsemem.h>
|
||||||
#include <asm/asm-offsets.h>
|
#include <asm/asm-offsets.h>
|
||||||
|
#include <asm/shmbuf.h>
|
||||||
|
|
||||||
extern int data_start;
|
extern int data_start;
|
||||||
extern void parisc_kernel_start(void); /* Kernel entry point in head.S */
|
extern void parisc_kernel_start(void); /* Kernel entry point in head.S */
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
#ifndef _LINUX_SHM_H_
|
#ifndef _LINUX_SHM_H_
|
||||||
#define _LINUX_SHM_H_
|
#define _LINUX_SHM_H_
|
||||||
|
|
||||||
#include <linux/list.h>
|
#include <linux/types.h>
|
||||||
#include <asm/page.h>
|
#include <asm/page.h>
|
||||||
#include <uapi/linux/shm.h>
|
|
||||||
#include <asm/shmparam.h>
|
#include <asm/shmparam.h>
|
||||||
|
|
||||||
struct file;
|
struct file;
|
||||||
|
struct task_struct;
|
||||||
|
|
||||||
#ifdef CONFIG_SYSVIPC
|
#ifdef CONFIG_SYSVIPC
|
||||||
struct sysv_shm {
|
struct sysv_shm {
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#include <linux/mm.h>
|
#include <linux/mm.h>
|
||||||
#include <linux/hugetlb.h>
|
#include <linux/hugetlb.h>
|
||||||
#include <linux/shm.h>
|
#include <linux/shm.h>
|
||||||
|
#include <uapi/linux/shm.h>
|
||||||
#include <linux/init.h>
|
#include <linux/init.h>
|
||||||
#include <linux/file.h>
|
#include <linux/file.h>
|
||||||
#include <linux/mman.h>
|
#include <linux/mman.h>
|
||||||
|
|
|
@ -85,6 +85,7 @@
|
||||||
#include <linux/export.h>
|
#include <linux/export.h>
|
||||||
#include <linux/msg.h>
|
#include <linux/msg.h>
|
||||||
#include <linux/shm.h>
|
#include <linux/shm.h>
|
||||||
|
#include <uapi/linux/shm.h>
|
||||||
#include <linux/bpf.h>
|
#include <linux/bpf.h>
|
||||||
#include <linux/kernfs.h>
|
#include <linux/kernfs.h>
|
||||||
#include <linux/stringhash.h> /* for hashlen_string() */
|
#include <linux/stringhash.h> /* for hashlen_string() */
|
||||||
|
|
|
@ -37,6 +37,7 @@
|
||||||
#include <linux/personality.h>
|
#include <linux/personality.h>
|
||||||
#include <linux/msg.h>
|
#include <linux/msg.h>
|
||||||
#include <linux/shm.h>
|
#include <linux/shm.h>
|
||||||
|
#include <uapi/linux/shm.h>
|
||||||
#include <linux/binfmts.h>
|
#include <linux/binfmts.h>
|
||||||
#include <linux/parser.h>
|
#include <linux/parser.h>
|
||||||
#include <linux/fs_context.h>
|
#include <linux/fs_context.h>
|
||||||
|
|
Loading…
Add table
Reference in a new issue