mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 00:12:52 +00:00
sched/headers: Remove <asm/ptrace.h> from <linux/sched.h>
This reduces header dependencies. Acked-by: Linus Torvalds <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
#include <asm/ptrace.h>
|
||||
|
||||
struct task_struct;
|
||||
|
||||
#ifdef CONFIG_SH_FPU
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
#include <linux/extable.h>
|
||||
#include <linux/uaccess.h>
|
||||
|
||||
#include <asm/ptrace.h>
|
||||
|
||||
int fixup_exception(struct pt_regs *regs)
|
||||
{
|
||||
const struct exception_table_entry *fixup;
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
#include <linux/mutex.h>
|
||||
#include <linux/plist.h>
|
||||
#include <linux/mm_types_task.h>
|
||||
#include <asm/ptrace.h>
|
||||
|
||||
#include <linux/sem.h>
|
||||
#include <linux/shm.h>
|
||||
|
||||
Reference in New Issue
Block a user