1. 27 Apr, 2004 2 commits
  2. 26 Apr, 2004 38 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
    • Andrew Morton's avatar
      [PATCH] isofs "default NLS charset not used" fix · b3f25c2b
      Andrew Morton authored
      From: Marek Szuba <scriptkiddie@wp.pl>
      
      Use the configured default NLS rather than hardwire it.
      b3f25c2b
    • Andrew Morton's avatar
      [PATCH] fix CONFIG_SYSFS=n compile warning · 81567845
      Andrew Morton authored
      From: Matt Mackall <mpm@selenic.com>
      81567845
    • Andrew Morton's avatar
      [PATCH] dio_bio_reap() return value fix · 9aa8863f
      Andrew Morton authored
      This function doesn't correctly accumulate -EIO for its caller.
      9aa8863f
    • Andrew Morton's avatar
      [PATCH] task_lock() comment update · 81779415
      Andrew Morton authored
      81779415
    • Andrew Morton's avatar
      [PATCH] s390: no timer interrupts in idle. · 1bd4c02c
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      This patch add a system control that allows to switch off the jiffies timer
      interrupts while a cpu sleeps in idle.  This is useful for a system running
      with virtual cpus under z/VM.
      1bd4c02c
    • Andrew Morton's avatar
      [PATCH] efibootmgr location change · 30c1ec2b
      Andrew Morton authored
      From: Matt Domsch <Matt_Domsch@dell.com>
      
      I moved the home of the efibootmgr utility from domsch.com to
      linux.dell.com.  Note the move in drivers/firmware/Kconfig, also note
      version 0.5.0-test3 or above is necessary.
      30c1ec2b
    • Andrew Morton's avatar
      [PATCH] efivars fixes · 03d1c495
      Andrew Morton authored
      From: Matt Domsch <Matt_Domsch@dell.com>
      
      Patch below fixes three small bugs in efivars.c as posted by Matt Tolentino
      last week and included in the latest -mm.  Aside from this small patch, I'm
      quite pleased with Matt T's work, thanks!
      
      - dummy() used for reading write-only sysfs files should return -ENODEV to
        indicate failure, not 0.
      
      - efivar_create() should return the number of bytes written on success, not
        zero.
      
      - efivar_delete() should return the number of bytes written on success, not
        zero.
      03d1c495
    • Andrew Morton's avatar
      [PATCH] efivars: remove x86 references · 1079344c
      Andrew Morton authored
      From: Matt Tolentino <metolent@snoqualmie.dp.intel.com>
      
      Third efivars driver update patch that removes x86 references to the /proc
      version of the driver.
      1079344c
    • Andrew Morton's avatar
      [PATCH] efivars: add to drivers/firmware · d621c98a
      Andrew Morton authored
      From: Matt Tolentino <metolent@snoqualmie.dp.intel.com>
      
      Second efivars driver update patch that adds efivars into the drivers/firmware
      directory.
      d621c98a
    • Andrew Morton's avatar
      [PATCH] efivars: remove from arch/ia64 · 855647c4
      Andrew Morton authored
      From: Matt Tolentino <metolent@snoqualmie.dp.intel.com>
      
      I broke up the efivars driver update patch I had sent out quite a while ago
      into several smaller patches.  This includes several fixes and suggestions
      that were pointed out.  The patches are broken down as follows:
      
      1 - remove all traces of efivars from arch/ia64/
      2 - add new sysfs based efivars driver into
          drivers/firmware with accompanying Kconfig/Makefile
          changes to make it fully functional for ia64 again.
      3 - cleans up x86 references to the /proc version of
          the efivars driver.
      855647c4
    • Andrew Morton's avatar
      [PATCH] m68k bitops · b13496e8
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      M68k bitops updates (from Roman Zippel):
        - Optimize find_{first,next}_zero_bit()
        - Add missing implementations of find_{first,next}_bit()
      b13496e8
    • Andrew Morton's avatar
      [PATCH] m68k: Amiga A2065 Ethernet KERN_* · 009c5ed6
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      Amiga A2065 Ethernet: Add KERN_* prefixes to printk() messages
      009c5ed6
    • Andrew Morton's avatar
      [PATCH] prune_dcache comment fix · 5324408b
      Andrew Morton authored
      From: Maneesh Soni <maneesh@in.ibm.com>
      
      Clarify some things which were confusing poeple...
      5324408b
    • Andrew Morton's avatar
      [PATCH] slab alignment fixes · afcd93a4
      Andrew Morton authored
      From: Manfred Spraul <manfred@colorfullife.com>
      
      Below is a patch that redefines the kmem_cache_alloc `align' argument:
      
      - align not zero: use the specified alignment.  I think values smaller than
        sizeof(void*) will work, even on archs with strict alignment requirement (or
        at least: slab shouldn't crash.  Obviously the user must handle the
        alignment properly).
      
      - align zero:
      * debug on: align to sizeof(void*)
      * debug off, SLAB_HWCACHE_ALIGN clear: align to sizeof(void*)
      * debug off, SLAB_HWCACHE_ALIGN set: align to the smaller of
         - cache_line_size()
         - the object size, rounded up to the next power of two.
        Slab never honored cache align for tiny objects: otherwise the 32-byte
        kmalloc objects would use 128 byte objects.
      
      There is one additional point: right now slab uses ints for the bufctls.
      Using short would save two bytes for each object.  Initially I had used short,
      but davem objected.  IIRC because some archs do not handle short efficiently. 
      Should I allow arch overrides for the bufctls?  On i386, saving two bytes
      might allow a few additional anon_vma objects in each page.
      afcd93a4
    • Andrew Morton's avatar
      [PATCH] hugetlbpage: remove include linux/module.h · 01305153
      Andrew Morton authored
      From: Paul Jackson <pj@sgi.com>
      
      The #include of linux/module.h in several arch/*/mm/hugetlbpage.c files for
      EXPORT_SYMBOL(hugetlb_total_pages) is now unneeded.
      01305153
    • Andrew Morton's avatar
      [PATCH] ppc64: prom.c fix for CONFIG_BLK_DEV_INITRD=n · 59e8d5c9
      Andrew Morton authored
      From: Rusty Russell <rusty@rustcorp.com.au>
      
      Doesn't compile with CONFIG_BLK_DEV_INITRD=n.  Be more careful with the
      conditionals.
      
      Spotted by Dave Boutcher...
      59e8d5c9