1. 28 Apr, 2004 5 commits
  2. 27 Apr, 2004 13 commits
  3. 26 Apr, 2004 22 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
    • Andrew Morton's avatar
      [PATCH] nfs_writepage() retval fix · 3376cbf3
      Andrew Morton authored
      Both ->writepage() and ->writepages() should return 0 or a negative error
      code.  It shouldn't return the number of bytes which were written.
      
      From: Trond Myklebust <trond.myklebust@fys.uio.no>
      
         Redirty the page if all of the modified parts of the page weren't
         written out.
      3376cbf3
    • Andrew Morton's avatar
      [PATCH] blkdev.h: functions no longer inline · cf259c1c
      Andrew Morton authored
      From: "Randy.Dunlap" <rddunlap@osdl.org>
      
      These are EXPORTed SYMBOLs; 'inline' was removed from them in ll_rw_blk.c
      on 2002-11-25.
      cf259c1c
    • Andrew Morton's avatar
      [PATCH] fs/proc/array.c: workaround for gcc-2.96 · 8d67bea6
      Andrew Morton authored
      From: Alan Stern <stern@rowland.harvard.edu>
      
      This patch is needed to work around gcc-2.96's limited ability to cope with
      long long intermediate expression types.  I don't know why the code
      compiled okay earlier and failed now.
      8d67bea6
    • Andrew Morton's avatar
      [PATCH] ppc32: fix head_44x.S copyrights · 1c9cdbfc
      Andrew Morton authored
      From: Matt Porter <mporter@kernel.crashing.org>
      
      A copyright change to properly show the lineage of this file.
      1c9cdbfc
    • Andrew Morton's avatar
      [PATCH] doc: tips for S3 resume on radeon cards · 6356aaa9
      Andrew Morton authored
      From: Pavel Machek <pavel@ucw.cz>
      
      Stefan has pretty useful tips for getting S3 to work on radeon notebooks.
      This brings whole new class of systems to be usable for S3.
      6356aaa9
    • Andrew Morton's avatar
      [PATCH] ISDN Eicon driver: remove call to trap usermode helper · 4a99dc71
      Andrew Morton authored
      From: Armin Schindler <armin@melware.de>
      
      This patch removes the function to call a usermode helper if the hardware
      and its firmware has a problem.  This feature is already implemented in the
      user utility and the driver does not need to care about it.
      4a99dc71
    • Andrew Morton's avatar
      [PATCH] hugepage fixes · 6d576c06
      Andrew Morton authored
      From: William Lee Irwin III <wli@holomorphy.com>
      
      mm/hugetlb.c is putting the destructor in head->lru.prev not head[1].mapping;
      fix below along with nuking huge_page_release(), which simply duplicates
      put_page().
      6d576c06
    • Andrew Morton's avatar
      [PATCH] simplify put_page() · 65ea1aff
      Andrew Morton authored
      By requiring that compound pages implement destructors we can drop some code
      from put_page().
      65ea1aff
    • Andrew Morton's avatar
      [PATCH] smb_writepage retval fix · c8c855b5
      Andrew Morton authored
      ->writepage() is supposed to return zero or a negative error code.  Returning
      the number of bytes written will confuse the VFS.
      c8c855b5
    • Andrew Morton's avatar
      [PATCH] slab: use order 0 for vfs caches · 1b2569fb
      Andrew Morton authored
      We have interesting deadlocks when slab decides to use order-1 allocations for
      ext3_inode_cache.  This is because ext3_alloc_inode() needs to perform a
      GFP_NOFS 1-order allocation.
      
      Sometimes the 1-order allocation needs to free a huge number of pages (tens of
      megabytes) before a 1-order grouping becomes available.  But the GFP_NOFS
      allocator cannot free dcache (and hence icache) due to the deadlock problems
      identified in shrink_dcache_memory().
      
      So change slab so that it will force 0-order allocations for shrinkable VFS
      objects.  We can handle those OK.
      1b2569fb