26 Sep, 2006

1 commit

  • We need TIF_RESTORE_SIGMASK in order to support ppoll() and pselect()
    system calls. This patch originally came from Andi, and was based
    heavily on David Howells' implementation of same on i386. I fixed a typo
    which was causing do_signal() to use the wrong signal mask.

    Signed-off-by: David Woodhouse
    Signed-off-by: Andi Kleen

    Andi Kleen
     

17 Sep, 2006

1 commit

  • On Tue, 2006-09-12 at 17:44 +0100, David Woodhouse wrote:
    > asm-x86_64/elf.h requires asm/processor.h, which does not exist
    > asm-x86_64/signal.h requires linux/linkage.h, which does not exist
    > asm-x86_64/unistd.h requires linux/linkage.h, which does not exist
    > asm-x86_64/vsyscall.h requires linux/seqlock.h, which does not exist

    Again, move stuff which shouldn't be visible inside (mostly already existing)
    #ifdef __KERNEL__.

    This fixes a bunch of mislabelled and unlabelled #endifs in unistd.h and also
    cleans that up to conform with what's visible on other architectures, since
    the minimal fix for the error reported about would have involved a more
    intrusive patch, renesting other ifdefs.

    Signed-off-by: David Woodhouse
    Cc: Sam Ravnborg
    Cc: Andi Kleen
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Woodhouse
     

03 Jul, 2006

1 commit


13 Sep, 2005

1 commit


04 May, 2005

1 commit

  • New file - asm-generic/signal.h. Contains declarations of
    __sighandler_t, __sigrestore_t, SIG_DFL, SIG_IGN, SIG_ERR and default
    definitions of SIG_BLOCK, SIG_UNBLOCK and SIG_SETMASK.

    asm-*/signal.h switched to including it. The only exception is
    asm-parisc/signal.h that wants its own declaration of __sighandler_t;
    that one is left as-is.

    asm-ppc64/signal.h required one more thing - unlike everybody else it
    used __sigrestorer_t instead of usual __sigrestore_t. PPC64 switched to
    common spelling.

    Signed-off-by: Al Viro
    Signed-off-by: Linus Torvalds

    Al Viro
     

01 May, 2005

1 commit

  • The attached patch moves the IRQ-related SA_xxx flags (namely, SA_PROBE,
    SA_SAMPLE_RANDOM and SA_SHIRQ) from all the arch-specific headers to
    linux/signal.h. This looks like a left-over after the irq-handling code
    was consolidated. The code was moved to kernel/irq/*, but the flags are
    still left per-arch.

    Right now, adding a new IRQ flag to the arch-specific header, like this
    patch does:
    http://cvs.sourceforge.net/viewcvs.py/*checkout*/alsa/alsa-driver/utils/patches/pcsp-kernel-2.6.10-03.diff?rev=1.1
    no longer works, it breaks the compilation for all other arches, unless you
    add that flag to all the other arch-specific headers too. So I think such
    a clean-up makes sense.

    Signed-off-by: Stas Sergeev
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Stas Sergeev
     

17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds