mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chris Wright <chrisw@osdl.org>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org, Joseph Fannin <jhf@rivenstone.net>
Subject: [PATCH] mqueue rlimit compile fix for ppc/cris/m68k
Date: Fri, 14 May 2004 17:20:14 -0700	[thread overview]
Message-ID: <20040514172014.E21045@build.pdx.osdl.net> (raw)

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>

                 reply	other threads:[~2004-05-15  0:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040514172014.E21045@build.pdx.osdl.net \
    --to=chrisw@osdl.org \
    --cc=akpm@osdl.org \
    --cc=jhf@rivenstone.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®