[PATCH] mqueue rlimit compile fix for ppc/cris/m68k
From: Chris Wright
Date: Fri May 14 2004 - 19:31:56 EST
Joseph Fannin notes that I missed a couple INIT_TASK spots in the
rlim-add-rlimit-entry-for-posix-mqueue-allocation.patch. Patch below
adds proper #includes.
--- linux-2.6.6-mm2/arch/ppc/kernel/process.c~init_task 2004-05-13 11:19:39.000000000 -0700
+++ linux-2.6.6-mm2/arch/ppc/kernel/process.c 2004-05-14 17:09:20.778637392 -0700
@@ -35,6 +35,7 @@
#include <linux/init_task.h>
#include <linux/module.h>
#include <linux/kallsyms.h>
+#include <linux/mqueue.h>
#include <asm/pgtable.h>
#include <asm/uaccess.h>
--- linux-2.6.6-mm2/arch/cris/kernel/process.c~init_task 2004-05-09 19:32:52.000000000 -0700
+++ linux-2.6.6-mm2/arch/cris/kernel/process.c 2004-05-14 17:10:02.974222688 -0700
@@ -102,6 +102,7 @@
#include <linux/fs.h>
#include <linux/user.h>
#include <linux/elfcore.h>
+#include <linux/mqueue.h>
//#define DEBUG
--- linux-2.6.6-mm2/arch/m68k/kernel/process.c~init_task 2004-05-13 11:19:38.000000000 -0700
+++ linux-2.6.6-mm2/arch/m68k/kernel/process.c 2004-05-14 17:10:36.796080984 -0700
@@ -26,6 +26,7 @@
#include <linux/a.out.h>
#include <linux/reboot.h>
#include <linux/init_task.h>
+#include <linux/mqueue.h>
#include <asm/uaccess.h>
#include <asm/system.h>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/