[PATCH] mqueue rlimit compile fix for ppc/cris/m68k
From: Chris Wright (chrisw_at_osdl.org)
Date: 05/15/04
- Previous message: Pavel Machek: "Re: swsusp + APM in 2.6.6"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 14 May 2004 17:20:14 -0700 To: Andrew Morton <akpm@osdl.org>
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Pavel Machek: "Re: swsusp + APM in 2.6.6"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|