2002-12-09 08:55:41

by Miles Bader

[permalink] [raw]
Subject: [PATCH] [v850] Update v850 includes to accomodate the slimming-down of sched.h

diff -ruN -X../cludes -xm68knommu -xasm-m68knommu -xmm ../orig/linux-2.5.50/arch/v850/kernel/semaphore.c arch/v850/kernel/semaphore.c
--- ../orig/linux-2.5.50/arch/v850/kernel/semaphore.c 2002-11-05 11:25:22.000000000 +0900
+++ arch/v850/kernel/semaphore.c 2002-11-28 14:45:39.000000000 +0900
@@ -13,6 +13,7 @@
* which was derived from the i386 version, linux/arch/i386/kernel/semaphore.c
*/

+#include <linux/errno.h>
#include <linux/sched.h>

#include <asm/semaphore.h>
diff -ruN -X../cludes -xm68knommu -xasm-m68knommu -xmm ../orig/linux-2.5.50/include/asm-v850/uaccess.h include/asm-v850/uaccess.h
--- ../orig/linux-2.5.50/include/asm-v850/uaccess.h 2002-11-05 11:25:32.000000000 +0900
+++ include/asm-v850/uaccess.h 2002-11-28 14:51:02.000000000 +0900
@@ -4,7 +4,9 @@
/*
* User space memory access functions
*/
-#include <linux/sched.h>
+
+#include <linux/errno.h>
+#include <linux/string.h>

#include <asm/segment.h>
#include <asm/machdep.h>