1. 06 Mar, 2003 16 commits
  2. 02 Mar, 2003 24 commits
    • Linus Torvalds's avatar
      Merge http://linux-isdn.bkbits.net/linux-2.5.make · ab6671e9
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      ab6671e9
    • Kai Germaschewski's avatar
      kbuild: remove dependency on compile.h · db0d6263
      Kai Germaschewski authored
      We had a dummy dependency on include/linux/compile.h, but it really caused
      more trouble than benefits. It's not actually needed for the module
      postprocessing, it was only put there to make sure we recognize when
      gcc changed under us. However, we really can only do so much, and
      the rest of kbuild won't notice a changed gcc either, so if the user replaces
      gcc during a build, he just can't rely on the build doing the right thing.
      
      The common cases are still covered, anyway. When the command to invoke
      gcc changes ("CC=gcc32") we notice, and when the path to
      
      	/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stdarg.h
      
      changes (which luckily contains the "2.96", we'll notice and handle that,
      too.
      db0d6263
    • Sam Ravnborg's avatar
      [PATCH] kbuild: Top-level Makefile, trivial tidy up · 41f57979
      Sam Ravnborg authored
      1) Remove dep from "make help", it is no longer useful
      2) replace Generating with GEN when generating version.h
      41f57979
    • Sam Ravnborg's avatar
      [PATCH] kbuild: do not run split-include for all compilations · 1ef75673
      Sam Ravnborg authored
      When a rule in the top-level Makefile includes scripts as one
      of the prerequisites it inherits FORCE, and thus is always build.
      include/linux/autoconf.h recently included scripts hereby forcing
      split-include to be run for each compilation.
      
      Fix all rules that lists scripts as a prerequisite but did not list FORCE.
      Fixed by listing the executable needed direct.
      1ef75673
    • Kai Germaschewski's avatar
      do_mounts: Fix CONFIG_BLK_DEV_MD=m case · eae6fb05
      Kai Germaschewski authored
      We don't really have a nice way to say "compile this when CONFIG_FOO
      is y, don't otherwise".
      
      Alternatives are:
      
      obj-$(subst m,,$(CONFIG_FOO)) := foo.o
      
      or
      
      obj-$(CONFIG_FOO)	:= foo.o
      obj-m :=
      
      or
      
      obj-y			:= do_foo.o
      do_foo-$(CONFIG_FOO)	:= foo.o
      
      I chose the last one, though I'm not particularly happy with either.
      eae6fb05
    • Steven Cole's avatar
      [PATCH] fix Coverted -> Converted · cfef4e04
      Steven Cole authored
      This patch fixes what might have been a joke, but wasn't.
      
       Coverted -> Converted
      
      One down, 285 to go.
      cfef4e04
    • Andrew Morton's avatar
      [PATCH] cciss: add passthrough ioctl · 2a697535
      Andrew Morton authored
      Patch from Stephen Cameron <steve.cameron@hp.com>
      
      Add new big passthrough ioctl to allow large buffers.  Used by e.g.  online
      array controller firmware flash utility.
      2a697535
    • Andrew Morton's avatar
      [PATCH] cciss: add CCISS_GETLUNINFO ioctl · ce7fe909
      Andrew Morton authored
      Patch from Stephen Cameron <steve.cameron@hp.com>
      
      Add CCISS_GETLUNINFO ioctl.
      
      This ioctl returns the LUNID, number of partitions, and current number of
      opens on a logical volume.  Used by the array config utility or any app that
      needs to send passthrough commands to a particular logical disk.
      ce7fe909
    • Andrew Morton's avatar
      [PATCH] cciss: add cmd_type to sendcmd parameters · 973ab2f4
      Andrew Morton authored
      Patch from Stephen Cameron <steve.cameron@hp.com>
      
      * add cmd_type to sendcmd parameters to allow scsi messages to be
        sent down.
      * factor out duplicated code into fill_cmd function.
      973ab2f4
    • Andrew Morton's avatar
      [PATCH] cciss: retry bus resets · f51e4f73
      Andrew Morton authored
      Patch from Stephen Cameron <steve.cameron@hp.com>
      
      Make cciss driver retry 3rd party bus reset aborted commands up to 3 times.
      (ported to 2.5 by me, original patch by Charles White)
      
      This is needed for a multi port storage box that can have multiple hosts
      connected to it, or be used in a multipath configuration.  In certain
      configurations SCSI bus resets initiated by one host may affect another host.
      f51e4f73
    • Andrew Morton's avatar
      [PATCH] cciss: fix unlikely startup problem · db54a480
      Andrew Morton authored
      Patch from Stephen Cameron <steve.cameron@hp.com>
      
      
      * Make cciss driver wait longer for board to enter simple mode to
        handle an unlikely corner case.  (Hot replace of failed 144GB
        drive in RAID 5 set at just the wrong time prior to driver loading
        can make the board take a longer than usual time to go into "simple
        mode".  Without the patch, the driver gives up too early, and consequently
        doesn't work.  (A reboot will generally "fix" it.)  This patch avoids
        the problem.
      * Fix a couple ioctls to return EAGAIN instead of inappropriate EFAULT.
      db54a480
    • Andrew Morton's avatar
      [PATCH] hugetlb: fix MAP_FIXED handling · cf9b6e7a
      Andrew Morton authored
      Patch from Rohit Seth
      
      ia64 reserves virtual address region 4 (any address which starts with 0x4)
      for huge pages.
      
      Apparently, for hardware reasons, we do not wish to allow mappings with
      other page sizes to appear in that region.
      
      This patch prevents the user from being able to place regular MAP_FIXED
      mappings into region 4 on ia64.  It is a no-op for ia32.
      cf9b6e7a
    • Andrew Morton's avatar
      [PATCH] hugetlbpage documentation update · a2f6cc86
      Andrew Morton authored
      Patch from Rohit Seth.  Updates the hugetlb page documentation.
      a2f6cc86
    • Andrew Morton's avatar
      [PATCH] remove dead hugetlb_key forward decl · 0167a2b2
      Andrew Morton authored
      Patch from Rohit Seth.  Remove a dead declaration.
      0167a2b2
    • Andrew Morton's avatar
      [PATCH] allow CONFIG_SWAP=n for i386 · 3c5a8af5
      Andrew Morton authored
      Patch from Christoph Hellwig <hch@sgi.com>
      
      There's a bunch of minor fixes needed to disable the swap code for systems
      with mmu.
      3c5a8af5
    • Andrew Morton's avatar
      [PATCH] fix typo in arch/i386/kernel/mpparse.c in printk · d3a3fe93
      Andrew Morton authored
      Patch from "Vitezslav Samel" <samel@mail.cz>
      
      Obvious fix of printk level (wrong since 2.5.62).
      d3a3fe93
    • Andrew Morton's avatar
      [PATCH] ext2: clear ext3 htree flag on directories · dac80052
      Andrew Morton authored
      Forward port of a change which Ted made to 2.4's ext2.
      
      HTREE backwards compatibility patch.
      
      "I thought (and assumed) this patch had been applied to both the ext2 and
       ext3 filesystems in the 2.4 kernel.  It turns out it had only made it into
       the ext3 filesystem code.  This means that if an HTREE-enabled filesystem is
       mounted using ext2, it will corrupt the filesystem as far as e2fsck and an
       ext3 htree-enabled kernel is concerned.  (The corruption won't cause any
       data loss, but it will cause e2fsck and an ext3-htree kernel to omit a lot
       of warning messages.)"
      dac80052
    • Andrew Morton's avatar
      [PATCH] clean up redundant code for alloc_pages · 37c8cc30
      Andrew Morton authored
      Patch from Matthew Dobson <colpatch@us.ibm.com>
      
      Consolidate alloc_pages() and alloc_pages_node().  There is no change in
      sizeof(vmlinux).
      37c8cc30
    • Andrew Morton's avatar
      [PATCH] Don't panic if TSC is enabled and notsc is used · 0355478a
      Andrew Morton authored
      Patch from: john stultz <johnstul@us.ibm.com>
      
      The kernel will currently panic if it was built with CONFIG_X86_TSC and
      someone boots it with `notsc'.
      
      Change it to just print a warning.
      0355478a
    • Andrew Morton's avatar
      [PATCH] fix preempt-issues with smp_call_function() · a8dd6484
      Andrew Morton authored
      Patch from Thomas Schlichter <schlicht@uni-mannheim.de>
      
      Based on a patch from Dave Jones.
      
      It converts a large number of instances of:
      
      	smp_call_function(foo);
      	foo();
      
      into
      
      	on_each_cpu(foo);
      
      and in doing so fixes up the preempt-unsafeness of the first version.
      a8dd6484
    • Andrew Morton's avatar
      [PATCH] fix presto_get_sb() return value and oops. · e8375b8c
      Andrew Morton authored
      Patch from Maneesh Soni <maneesh@in.ibm.com>
      
      It's supposed to return an ERR_PTR value on error, not NULL.
      e8375b8c
    • Andrew Morton's avatar
      [PATCH] loop: Fix OOM and oops · 29da03f1
      Andrew Morton authored
      The loop driver takes a copy of the data which it is writing.  When this
      happens on the try_to_free_pages() path, loop can easily consume ALL memory
      and bio_copy() will fail to allocate a page.
      
      Loop forgets to check the bio_copy() return value and oopses.
      
      Fix this by dropping PF_MEMALLOC and throttling to the block writeout speed.
      
      The patch exports blk_congestion_wait() to modules for this.  This is a
      needed export: several filesystems have a "try to allocate and yield if it
      failed" loop and blk_congestion_wait() is a more appropriate way of
      implementing the sleep in this situation.
      29da03f1
    • Andrew Morton's avatar
      [PATCH] deadline IO scheduler dispatching fix · 159b5855
      Andrew Morton authored
      Patch from Nick Piggin <piggin@cyberone.com.au>
      
      Closes a window in which we can get an invalid (already dispatched) request
      in the next_drq cache.
      
      This fixed an oops which was reported by Janet Morgan.
      159b5855
    • Andrew Morton's avatar
      [PATCH] fix e100 for big-endian machines · 361b3b62
      Andrew Morton authored
      Patch from Anton Blanchard <anton@samba.org>
      
      e100 is performing a header checksum calculation which is
      
      a) duplication of the core kernel's calculation of the same and
      
      b) incorrect on big-endian machines.
      
      This fix has been tested on ia32 and pppc64 and acked by davem, jgarzik
      and Scott Feldman
      361b3b62