1. 28 Apr, 2004 3 commits
    • Ivan Kokshaysky's avatar
      [PATCH] Fix rwsem contention case on alpha/s390x · 533a071f
      Ivan Kokshaysky authored
      Thanks to Dru <andru@treshna.com>, who provided an easy way to reproduce
      the problem.
      
      What we have in lib/rwsem.c:__rwsem_do_wake():
      	int woken, loop;
      	^^^
      and several lines below:
      	loop = woken;
      	woken *= RWSEM_ACTIVE_BIAS-RWSEM_WAITING_BIAS;
      	woken -= RWSEM_ACTIVE_BIAS;
      
      However, rw_semaphore->count is 64-bit on Alpha, so
      RWSEM_WAITING_BIAS has been defined as -0x0000000100000000L.
      Obviously, this blows up in the write contention case.
      533a071f
    • Armin Schindler's avatar
      [PATCH] ISDN CAPI: fix ncci list semaphore · c631700d
      Armin Schindler authored
      Fix new ISDN CAPI's internal ncci list semaphore if
      CONFIG_ISDN_CAPI_MIDDLEWARE is disabled.
      
      Thanks to Florian Schirmer.
      c631700d
    • Linus Torvalds's avatar
      Merge http://xfs.org:8090/xfs-linux-2.6 · 165bcfcf
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      165bcfcf
  2. 29 Apr, 2004 5 commits
  3. 28 Apr, 2004 9 commits
    • Andrew Morton's avatar
      [PATCH] ppc32: Update Motorola PrPMC750 support · abfd7fc4
      Andrew Morton authored
      From: Tom Rini <trini@kernel.crashing.org>
      
      This patch updates support for the Motorola PrPMC750 platform.  Most of the
      size in this patch comes from merging prpmc750_pci.c and prpmc750_setup.c into
      just prpmc750.c.
      abfd7fc4
    • Andrew Morton's avatar
      [PATCH] ppc32: Add openpic_hookup_cascade() · 6c4f928b
      Andrew Morton authored
      From: Tom Rini <trini@kernel.crashing.org>
      
      This patch adds openpic_hookup_cascade(offset, name, handler) which allows for
      an arbitrary interrupt controller to be hooked up as a cascade to the openpic.
       This also allows for platforms to just not have a cascaded controller.
      6c4f928b
    • Andrew Morton's avatar
      [PATCH] ppc32: Update SBS K2 support · 9be15f90
      Andrew Morton authored
      From: Tom Rini <trini@kernel.crashing.org>
      
      This patch updates support for the SBS K2 platform.  Most of the size in this
      patch comes from merging k2_pci.c and k2_setup.c into just k2.c.
      9be15f90
    • Andrew Morton's avatar
      [PATCH] fix warning in arch/ppc/boot/simple/misc.c · 3e0dd373
      Andrew Morton authored
      From: Christoph Hellwig <hch@lst.de>
      
      asm-ppc/elf.h uses a pointer to struct task_struct without any
      forward-declaration.
      
      In file included from include/linux/elf.h:5,
                       from arch/ppc/boot/simple/misc.c:20:
      include/asm/elf.h:102: warning: `struct task_struct' declared inside parameter list
      include/asm/elf.h:102: warning: its scope is only this definition or declaration, which is probably not what you want
      3e0dd373
    • Andrew Morton's avatar
      [PATCH] Fix thinkos in #if -> #ifdef conversions #2 · caff0e5e
      Andrew Morton authored
      From: Tom Rini <trini@kernel.crashing.org>
      
      And when trying to catch up on old patches, I forgot this hunk:
      caff0e5e
    • Nathan Scott's avatar
    • Andrew Morton's avatar
      [PATCH] Fix thinkos in #if -> #ifdef conversions · 95c06313
      Andrew Morton authored
      From: Tom Rini <trini@kernel.crashing.org>
      
      When I changed some '#if FOO' tests to '#ifdef FOO' I forgot to make sure
      that nothing was doing #define FOO 0.  So after auditing all of the changes
      I made, the following is needed:
      95c06313
    • Andrew Morton's avatar
      [PATCH] ppc64: Set memory-only nodes online · f6364f27
      Andrew Morton authored
      From: Olof Johansson <olof@austin.ibm.com>
      
      On pSeries LPARs we might end up with NUMA nodes that only have memory and
      no CPUs.  Only the CPU configuration code actually set a node online, so
      memory-only nodes wouldn't show up in sysfs.  Below patch adds the
      set_online call to the memory loop too.
      f6364f27
    • Andrew Morton's avatar
      [PATCH] fix warning in fs/dquot.c · aa995aac
      Andrew Morton authored
      From: "Luiz Fernando N. Capitulino" <lcapitulino@prefeitura.sp.gov.br>
      
      fs/dquot.c: In function `vfs_quota_off':
      fs/dquot.c:1328: warning: label `out' defined but not used
      aa995aac
  4. 27 Apr, 2004 11 commits
  5. 26 Apr, 2004 12 commits
    • Linus Torvalds's avatar
      Merge bk://ppc.bkbits.net/for-linus-ppc · 53ef168a
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      53ef168a
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/net-2.6 · 9fa12b00
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      9fa12b00
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/tg3-2.6 · 5ca259f3
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      5ca259f3
    • Andrew Morton's avatar
      [PATCH] kbuild: Improved external module support · 95065ad3
      Andrew Morton authored
      From: Sam Ravnborg <sam@ravnborg.org>
      
      The external module support recently introduced caused a number of problems:
      - To build an external module the Module.symvers file was needed
      - To create the Module.symvers file a module was required
      - If Module.symvers was missing kbuild boiled out with an error
      - If vmlinux was missing also the stage 2 of module build failed (make -k)
      - It was not documented what was needed to actually bauild a module
      
      The following patch addresses this by adding the following functionality:
      - Always generate the Module.symvers file
      - Ignore a missing Module.symvers file
      - Add a new target modules_prepare, it prepares the kernel for building
        external modules, and is also usefull with O=
      - And it adds some more comments to Makefile.modpost, so others may follow
        it with some luck
      - .modpost.cmd is no longer generated
      
      This should close all reports on issues with respect to building external
      modules with current kernel - which has been identified as kernel problems.
      95065ad3
    • Andrew Morton's avatar
      [PATCH] doc: specifiying module parameters · e354a56d
      Andrew Morton authored
      From: "Randy.Dunlap" <rddunlap@osdl.org>
      
      kernel-parameters.txt: add info on how to specify loadable module
      parameters vs.  built-in module parameters
      e354a56d
    • Andrew Morton's avatar
      [PATCH] SELinux ptrace race fix · 96cc4727
      Andrew Morton authored
      From: Stephen Smalley <sds@epoch.ncsc.mil>
      
      Looking again at the SELinux ptrace check, I believe that there is an
      unrelated race due to the fact that the parent link is only updated after
      releasing the task lock in ptrace_attach (and this is necessary as task lock
      doesn't nest with write lock of tasklist_lock).
      
      The patch below changes SELinux to save the tracing process' SID upon a
      successful selinux_ptrace hook call and then use that SID in the ptrace check
      in apply_creds in order to avoid such races.  This allows us to preserve the
      fine-grained process-to-process ptrace check upon exec (vs.  the global
      CAP_SYS_PTRACE privilege => PT_PTRACE_CAP flag used by the capability module)
      while still avoiding races.
      96cc4727
    • Andrew Morton's avatar
      [PATCH] ppc64: remove duplicated mb() and comment from __cpu_up · c5fe7586
      Andrew Morton authored
      From: Nathan Lynch <nathanl@austin.ibm.com>
      
      This seems to have slipped in during a manual merge at some point.
      c5fe7586
    • Andrew Morton's avatar
      [PATCH] SubmittingPatches diffing update. · e768ae0e
      Andrew Morton authored
      From: Zwane Mwaikambo <zwane@arm.linux.org.uk>
      
      A kernel janitor recently got confused by the advice in SubmittingPatches
      and was sending patches with the wrong strip level, i think just about
      everyone would prefer standard patches.  Also mention various patch
      management scripts for batching up large deltas.
      e768ae0e
    • Andrew Morton's avatar
      [PATCH] Set module license in mcheck/non-fatal.c · 65782400
      Andrew Morton authored
      From: Herbert Xu <herbert@gondor.apana.org.au>
      
      This patch sets the module license for mcheck/non-fatal.c.  The module
      doesn't work at all without this as one of the symbols it needs is only
      exported as GPL.
      65782400
    • Andrew Morton's avatar
      [PATCH] remove Documentation/DocBook/parportbook.tmpl · f13fcc31
      Andrew Morton authored
      From: Christoph Hellwig <hch@lst.de>
      
      The partportbook is licensed under the GFDL and Linus agreed to remove
      all GFDL licensed files in
      http://www.ussg.iu.edu/hypermail/linux/kernel/0306.1/1968.html.
      
      I pinged the author the first time on the 2nd of april but still didn't get
      a reply, then send a patch to Linus to remove it last week but linus
      ignored it.  Here's the patch again:
      f13fcc31
    • Andrew Morton's avatar
      [PATCH] fix fs/proc/task_nommu.c compile · c44d1974
      Andrew Morton authored
      From: Christoph Hellwig <hch@lst.de>
      
      this file has been broken for ages, but it seems few !CONFIG_MMU users use
      mainline at all.
      c44d1974
    • Andrew Morton's avatar
      [PATCH] ppc32: dma_unmap_page() fix · 52bfefbc
      Andrew Morton authored
      From: <a.othieno@bluewin.ch> (Arthur Othieno)
      
      Duplicate definition of dma_unmap_single() should actually be
      dma_unmap_page().
      
      (acked by Tom Rini)
      52bfefbc