Re: Linux 2.6.9-rc2

From: Geert Uytterhoeven (geert_at_linux-m68k.org)
Date: 09/14/04

  • Next message: Lincoln Dale: "Re: [PATCH] [RFC] Support for wccp version 1 and 2 in ip_gre.c"
    Date:	Tue, 14 Sep 2004 15:12:12 +0200 (CEST)
    To: Roland McGrath <roland@redhat.com>
    
    

    On Mon, 13 Sep 2004, Linus Torvalds wrote:
    > Roland McGrath:
    > o waitid system call

    You forgot to add `struct rusage _rusage' members to struct siginfo._sigchld
    for 2 architectures that define HAVE_ARCH_SIGINFO_T.

    I needed the first patch below to fix compilation for m68k.
    I guess Ralf needs the second one for MIPS.

    --- linux-2.6.9-rc2/include/asm-m68k/siginfo.h 2004-04-27 20:42:20.000000000 +0200
    +++ linux-m68k-2.6.9-rc2/include/asm-m68k/siginfo.h 2004-09-14 13:56:55.000000000 +0200
    @@ -46,6 +46,7 @@
                             clock_t _utime;
                             clock_t _stime;
                             __kernel_uid32_t _uid32; /* sender's uid */
    + struct rusage _rusage;
                     } _sigchld;

                     /* SIGILL, SIGFPE, SIGSEGV, SIGBUS */
    --- linux-2.6.9-rc2/include/asm-mips/siginfo.h 2004-05-03 20:05:06.000000000 +0200
    +++ linux-m68k-2.6.9-rc2/include/asm-mips/siginfo.h 2004-09-14 14:48:51.000000000 +0200
    @@ -50,6 +50,7 @@
                             clock_t _utime;
                             int _status; /* exit code */
                             clock_t _stime;
    + struct rusage _rusage;
                     } _sigchld;

                     /* IRIX SIGCHLD */

    Gr{oetje,eeting}s,

                                                    Geert

    --
    Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
    In personal conversations with technical people, I call myself a hacker. But
    when I'm talking to journalists I just say "programmer" or something like that.
    							    -- Linus Torvalds
    -
    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: Lincoln Dale: "Re: [PATCH] [RFC] Support for wccp version 1 and 2 in ip_gre.c"

    Relevant Pages

    • [2.6 patch] kernel/sys.c: make some code static
      ... * given child after it's reaped, or none so this sample is before reaping. ... +static void k_getrusage(struct task_struct *p, int who, struct rusage *r) ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • New getrusage
      ... but it requires a third parameter. ... struct task_struct* tsk = current; ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [RFC] State of ru_majflt
      ... The ru_majflt field of struct rusage doesn't return major page faults -- ... POSIX and Linux man pages ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [2.6 patch] kernel/sys.c: make some code static
      ... This patch makes some needlessly global code static. ... +static void k_getrusage(struct task_struct *p, int who, struct rusage *r) ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)