mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:04:51 +01:00
lib: reduce the use of module.h wherever possible
For files only using THIS_MODULE and/or EXPORT_SYMBOL, map them onto including export.h -- or if the file isn't even using those, then just delete the include. Fix up any implicit include dependencies that were being masked by module.h along the way. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
This commit is contained in:
parent
630d9c4727
commit
8bc3bcc93a
63 changed files with 74 additions and 63 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#include <linux/ptrace.h>
|
||||
#include <linux/sched.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/export.h>
|
||||
#include <asm/syscall.h>
|
||||
|
||||
static int collect_syscall(struct task_struct *target, long *callno,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue