2007-10-30 09:31:45

by Jesper Nilsson

[permalink] [raw]
Subject: [PATCH 7/16] CRIS architecture: Correct compile errors


Include linux/fs.h, needed for do_pipe.

Signed-off-by: Jesper Nilsson <[email protected]>

---
sys_cris.c | 1 +
1 file changed, 1 insertion(+)

diff -urBb -X /h/jespern/.exclude_files clean_linux-2.6.23/arch/cris/kernel/sys_cris.c linux-2.6.23/arch/cris/kernel/sys_cris.c
--- clean_linux-2.6.23/arch/cris/kernel/sys_cris.c 2007-10-09 22:31:38.000000000 +0200
+++ linux-2.6.23/arch/cris/kernel/sys_cris.c 2007-10-22 13:39:19.000000000 +0200
@@ -13,6 +12,7 @@
#include <linux/sched.h>
#include <linux/syscalls.h>
#include <linux/mm.h>
+#include <linux/fs.h>
#include <linux/smp.h>
#include <linux/smp_lock.h>
#include <linux/sem.h>

/^JN - Jesper Nilsson
--
Jesper Nilsson -- [email protected]