o uaccess.h: remove include sched.h, it only needs thread_info.h

parent cebce9d8
......@@ -21,6 +21,9 @@
#include <linux/parport.h>
#include <linux/delay.h>
#include <linux/sched.h>
#include <asm/current.h>
#include <asm/uaccess.h>
#define DEBUG /* undef me for production */
......
......@@ -17,6 +17,7 @@
#include <linux/config.h>
#include <linux/parport.h>
#include <linux/delay.h>
#include <linux/sched.h>
#include <asm/uaccess.h>
#undef DEBUG /* undef me for production */
......
......@@ -26,6 +26,9 @@
#include <linux/dcache.h>
#include <linux/namei.h>
#include <linux/mount.h>
#include <linux/sched.h>
#include <asm/current.h>
#include <asm/uaccess.h>
#ifdef DEBUG
......
......@@ -24,6 +24,8 @@
#include <linux/time.h>
#include <linux/string.h>
#include <linux/wait.h>
#include <linux/sched.h>
#include <asm/current.h>
#include <asm/uaccess.h>
/* #define DEBUG */
......
......@@ -9,6 +9,8 @@
#include "ext2.h"
#include <linux/time.h>
#include <linux/sched.h>
#include <asm/current.h>
#include <asm/uaccess.h>
......
......@@ -6,6 +6,9 @@
#ifndef __ASSEMBLY__
#include <linux/preempt.h>
#include <linux/smp.h>
#include <asm/mmu.h>
extern struct desc_struct cpu_gdt_table[NR_CPUS][GDT_ENTRIES];
......
#ifndef __i386_MMU_H
#define __i386_MMU_H
#include <asm/semaphore.h>
/*
* The i386 doesn't have a mmu context, but
* we put the segment information here.
......
......@@ -6,7 +6,7 @@
*/
#include <linux/config.h>
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/thread_info.h>
#include <linux/prefetch.h>
#include <asm/page.h>
......
......@@ -23,6 +23,8 @@
#include <linux/proc_fs.h>
#include <linux/list.h>
#include <linux/security.h>
#include <linux/sched.h>
#include <asm/current.h>
#include <asm/uaccess.h>
#include "util.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment