[PATCH] mqueue rlimit compile fix for ppc/cris/m68k

From: Chris Wright (chrisw_at_osdl.org)
Date: 05/15/04

  • Next message: Randy.Dunlap: "Re: sysfs warning + spinlock BUG in typhoon radio"
    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/


  • Next message: Randy.Dunlap: "Re: sysfs warning + spinlock BUG in typhoon radio"

    Relevant Pages

    • Re: Re: Re: Proper way to prevent a device (thats unrecognized)fromhotplugging?
      ... Preston ... Proper way to prevent a device fromhotplugging? ... and I just set it up so that it detects what is being inserted and calls the apropriate scripts ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ...
      (Fedora)
    • /media and /mnt ownership and permissions
      ... I know this isn't proper. ... My setting up a sidux on X61s ... Should /media be owned by root/floppy? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • /media and /mnt ownership and permissions
      ... I know this isn't proper, ... sidux is owned by root/floppy. ... Should /media be owned by root/floppy? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: linuxtv on debian
      ... hierarchy to get the proper ID information for the devices, ... NAME and SYMLINK entries (you might not need a ... That's as much as I can recall, except that the above does work! ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: ext3 fs /var corrupt :(
      ... Is there any way to retrieve this data and place it back into the ... proper place? ... Preferable someone in the Netherlands as well, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)