1. 04 Mar, 2003 2 commits
  2. 03 Mar, 2003 2 commits
  3. 02 Mar, 2003 34 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
    • Andrew Morton's avatar
      [PATCH] spelling fixes · 5f10a0b4
      Andrew Morton authored
      s/seperate/separate/
      5f10a0b4
    • Russell King's avatar
      [ARM] SA11x0 PCMCIA 8 · c0f05807
      Russell King authored
      Fix socket memory mapping bug - we need to take account of the
      requested card offset when returning the address for ioremap. 
      c0f05807
    • Russell King's avatar
      [ARM] SA11x0 PCMCIA 7 · 33cdd9d7
      Russell King authored
      Request PCMCIA socket resources without marking them busy - this
      allows future modifications to pcmcia to allow it to claim the
      CIS resources for statically mapped sockets.
      33cdd9d7
    • Russell King's avatar
      [ARM] SA11x0 PCMCIA 6 · af02a9d3
      Russell King authored
      Sanitise our pcmcia interrupt handling.  Make sure we only use
      set_irq_type after the interrupt has been registered.
      
      Register the socket handling interrupts using the function name
      rather than some pointer passed by the generic code.
      
      Let the generic sa11x0 code handle the cards interrupt masking.
      af02a9d3
    • Russell King's avatar
      [ARM] SA11x0 PCMCIA 5 · 657922c7
      Russell King authored
      Remove get_irq_info method, passing the information via the init
      method instead.  The IRQ allocated to a socket never changes on
      these platforms, so the extra code was just bloat.
      657922c7
    • Russell King's avatar
      [ARM] SA11x0 PCMCIA 4 · a875f3b9
      Russell King authored
      Convert all SA11x0 drivers to register with the Linux driver model,
      so they work with the pcmcia layer in 2.5.63.
      a875f3b9
    • Russell King's avatar
      [ARM] SA11x0 PCMCIA 3 · 0960a1f6
      Russell King authored
      Make low level socket_status() method take the socket index as an
      argument in the same way that our other methods do.  socket_status()
      now only returns the status of the requested socket, not all sockets.
      0960a1f6
    • Russell King's avatar
      [ARM] SA11x0 PCMCIA 2 · 44760e52
      Russell King authored
      Make low-level configure_socket() method take the socket number as
      a parameter rather than embedded in a structure.
      44760e52
    • Russell King's avatar
      [ARM] SA11x0 PCMCIA 1 · ac1689ff
      Russell King authored
      Make SA11x0 generic pcmcia implementation fit better with Dominik's
      work - pass around our socket structure rather than the socket number
      itself.  Reference socket operations using the socket structure
      rather than a static variable.
      ac1689ff
    • Alan Stern's avatar
      [PATCH] Fix USB address setting · e61ed9f5
      Alan Stern authored
      You wouldn't expect that an innocent two-line patch would practically
      destroy the entire functionality of the USB subsystem.  But that's what my
      last patch did.  I didn't realize until I saw it in Greg's list of patches
      forwarded to Linus; that patch includes a mistakenly unreverted prior
      change.  This explains the problems I was having yesterday, and probably
      also the problems a great many people are having today.
      
      Anyway, here's the correction -- it puts things back to what they should
      have been in the first place.  Greg, please apply this and send it to
      Linus for his tree as soon as reasonably possible.
      e61ed9f5
  4. 01 Mar, 2003 2 commits