1. 20 Jun, 2002 40 commits
    • Andreas Dilger's avatar
      [PATCH] TRIVIAL EPERM -> EACCESS · 2f07197e
      Andreas Dilger authored
      the following micro-patch changes ext[23]_ioctl to return EACCES
      (permission denied) instead of EPERM (operation not permitted) if
      the caller is not authorized to change the flags on a file.
      2f07197e
    • Andreas Bombe's avatar
      [PATCH] Fix bashisms in scripts_patch-kernel · 4fda8607
      Andreas Bombe authored
        The following trivial patch makes the patch-kernel script executable by
        a bare bone POSIX shell like ash.  Either that, or the interpreter line
        has to be changed to /bin/bash.
      
        The same patch applies to 2.4 (with some line offset).
      4fda8607
    • Linus Torvalds's avatar
      Merge home:v2.5/linux · 1c60cf8a
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      1c60cf8a
    • Robert Love's avatar
      [PATCH] mark 3 variables as __initdata · 602c7aa8
      Robert Love authored
      The attached patch marks the following variables with __initdata:
      
              arch/i386/kernel/mpparse.c :: static unsigned int num_processors
              arch/i386/kernel/smpboot.c :: static int smp_b_stepping
              arch/i386/kernel/smpboot.c :: static int max_cpus
      
      The data is static and only used by __init functions so can successfully
      be jettisoned after boot.  Compiled and booted successfully on an SMP
      machine.
      
      I also set max_cpus to NR_CPUS instead of -1.  Besides being the
      logically correct value and simplifying a loop elsewhere, this change
      allows NR_CPUS to be set to various values other than the normal 32
      which is growing in utility with the hotplug CPU changes now in
      mainline.
      602c7aa8
    • Robert Love's avatar
      [PATCH] preempt-safe do_softirq · 33bb8238
      Robert Love authored
      Attached patch makes do_softirq preempt-safe simply by moving the
      current CPU assignment a couple lines down below the interrupt disable.
      33bb8238
    • Linus Torvalds's avatar
      Merge bk://linus@bkbits.net/lm-makefiles · 25fce987
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      25fce987
    • Stelian Pop's avatar
      [PATCH] export ioremap_nocache to modules · 021af973
      Stelian Pop authored
      This patch exports ioremap_nocache to modules, used by at least
      some of the sound drivers....
      021af973
    • Jaroslav Kysela's avatar
      [PATCH] ALSA update · 5f47478a
      Jaroslav Kysela authored
      this ALSA update contains
      
       - fixed dependencies for OSS Sequencer emulation code
       - fixed wrong verbose printk output
       - fixed possible oops in OSS PCM emulation code (silence)
       - added snd_timer_del() function
       - added integer64 support to control interface
       - AC'97 - cleanups for Cirrus Logic codecs (S/PDIF)
       - added PCM device for SB AWE synthesizer
       - added RME Hammerfall DSP Audio driver by Paul Davis
       - renamed rme9652_mem.o module to hammerfall_mem.o
       - device naming cleanups in snd-intel8x0
       - RME32 driver updates
       - VIA8233 driver updates for VIA8233A
       - CS4281 code updated to support dual codecs
       - Korg1212 driver update (debugging)
       - YMFPCI - changed support for rear channel
       - improved PPC drivers - AWACS, KEYWEST, TUMBLER
      5f47478a
    • Manik Raina's avatar
      [PATCH] More __builtin_expect() cleanup in favour · ea32d985
      Manik Raina authored
      Changed files in the include/asm-ia64 directory to get rid of
      __builtin_expect() in favour of likely/unlikely.
      ea32d985
    • Stephen Rothwell's avatar
      [PATCH] ipv6 statics · e59e6180
      Stephen Rothwell authored
      This makes some more things in the ipv6 code static.  Some of them may
      be wrong (or for futures) bu it looks pretty OK to me (and it builds).
      e59e6180
    • Rusty Russell's avatar
      [PATCH] Async Futex · 5dd9895a
      Rusty Russell authored
      This patch adds a FUTEX_FD call, for opening a file descriptor
      attached to a futex, which can be used with poll, select or SIGIO.
      Rewritten so that closing fd unpins page, as per Linus's suggestion,
      and fixed not to call poll_wait with a spinlock as per Martin Wirth's
      sharp eyes.
      5dd9895a
    • Rusty Russell's avatar
      [PATCH] Futex bugfixes. · 74f58650
      Rusty Russell authored
      This uses page_cache_release() instead of put_page(), as it might
      be a pagecache page.
      74f58650
    • Albert Cranford's avatar
      [PATCH] 2.5.23 i2c updates 4/4 · 0e042f3a
      Albert Cranford authored
      i2c-elektor.c:Adding call to pcf_isa_init to i2c_pcfisa_init causes:
      i2c-elektor.o: In function `i2c_pcfisa_init':
      i2c-elektor.o(.text.init+0x95): undefined reference to `local symbol
      i2c-elektor.c: fix by removing __exit for inline compiling.
      0e042f3a
    • Albert Cranford's avatar
      [PATCH] 2.5.23 i2c updates 3/4 · 665b6e17
      Albert Cranford authored
      i2c-algo-bit.c: Leave kernel time_before/after_eq
        Remove #ifdef MODULE_LICENSE around MODULE_LICENSE.
        Remove #include <linux/sched.h> since i2c.h has it now.
      i2c-algo-pcf.c: Remove #include <linux/sched.h> since i2c.h has it now.
        Remove #ifdef MODULE_LICENSE around MODULE_LICENSE.
        Remove #include <linux/sched.h> since i2c.h has it now.
      i2c/i2c-elektor.c: Leave kernel __exit pcf_isa_exit(void)
        Remove #ifdef MODULE_LICENSE around MODULE_LICENSE.
      i2c-elv.c: Leave kernel __exit bit_elv_exit(void)
        Remove #ifdef MODULE_LICENSE around MODULE_LICENSE.
      i2c-philips-par.c: Remove #ifdef MODULE_LICENSE around MODULE_LICENSE.
      i2c/i2c-velleman.c: Leave kernel __exit bit_velle_exit(void)
        Remove #ifdef MODULE_LICENSE around MODULE_LICENSE.
      Drop i2c-algo-8xx.[ch] deltas
      Drop i2c-algo-ppc405.[ch] deltas
      Drop i2c-pcf-epp.c deltas
      Drop i2c-ppc405.[ch] deltas
      Drop i2c-ppc405adap.h deltas
      Drop i2c-pport.c deltas
      Drop i2c-rpx.c deltas
      665b6e17
    • Albert Cranford's avatar
      [PATCH] 2.5.23 i2c updates 2/4 · 555e8cee
      Albert Cranford authored
      i2c-core.c:Leave LINUX_VERSION in kernel.  Leave i2c_debug=1.  Leave
        CONFIG names as in the kernel.  Remove #ifdef MODULE_LICENSE around
        MODULE_LICENSE.
      i2c-dev.c:Remove #ifdef MODULE_LICENSE around MODULE_LICENSE.
        Remove compatibality code for < 2.4.0
      i2c-proc.c: Print message on kmalloc failure.  Leave ENOMEM as in kernel.
        Remove #ifdef MODULE_LICENSE around MODULE_LICENSE.  Remove 2.2.19 compat
        code.
      555e8cee
    • Albert Cranford's avatar
      [PATCH] 2.5.23 i2c updates 1/4 · 3fc6e4a7
      Albert Cranford authored
      3fc6e4a7
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/davem/BK/misc-2.5 · 838dbc1f
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      838dbc1f
    • C. Scott Ananian's avatar
      [PATCH] 2.5.23: missing tqueue.h in cpia_pp.c · 42a0c257
      C. Scott Ananian authored
      There seems to be another missing tqueue.h, this time in the CPIA video
      driver.
      42a0c257
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/davem/BK/sparc-2.5 · a07f95d8
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      a07f95d8
    • Stephen Rothwell's avatar
      [PATCH] ext2 statics · 6dceb11b
      Stephen Rothwell authored
      This patch just changes some things in ext2 to be static.
      6dceb11b
    • Stephen Rothwell's avatar
      [PATCH] dup_task_struct can be static · 8d50caa1
      Stephen Rothwell authored
      dup_task_struct is defined and used only in kernel/fork.c.
      8d50caa1
    • Stephen Rothwell's avatar
      [PATCH] make kstack_depth_to_print and some APM stuff static · 12ae4bff
      Stephen Rothwell authored
      Tridge has written a little utility
      (http://samba.org/ftp/unpacked/junkcode/findstatic.pl) that (given a set of
      object files) works out a list of candidate finctions and variables that
      may be able to be made static.  Obviously some hand checking is needed
      (different configs and/or architectures etc), but it seems useful.
      
      Here is my first patch using its outout.
      
      kstack_depth_to_print is used in many architectures, but only in one
      file in each.  In some architectures it is declared and not used.  It
      is not even clear why kstack_depth_to_print is not a #define.  Tridge
      suggested that maybe you could change its value with a debugger ...
      
      The APM code has a function and a struct that can be static.
      12ae4bff
    • David Mosberger's avatar
      [PATCH] nasty bug in free_pgtables() (for ia64) · 6ce1b826
      David Mosberger authored
      Strictly speaking, this patch is needed only for arches which use
      discontiguous virtual address bits for the PGD index.
      
      When we originally worked on this code (~ 2 years ago or so, in
      response to a bug report & patch from an Intel guy), I had myself
      convinced that the code is correct, but of course I missed the fact
      that:
      
      	pgd_index(first) < pgd_index(last)
      
      does NOT imply that:
      
      	first < last
      
      For example, with a 16KB page size on ia64, we might end up with:
      
         first = 6000100f80003fff => first_idx = 0x300
         last  = 60000fffffff8000 =>  last_idx = 0x3ff
      
      Note here that first_idx < last_idx even though first > last.  This is
      because pgd_index() ignores bits 44..60.
      
      I suppose we could put the extra check inside #ifdef __ia64__, but
      that would be rather ugly and would really mean that Linux does not
      support discontiguous PGD indices.
      6ce1b826
    • Neil Brown's avatar
      [PATCH] Make ITERATE_MDDEV work on non-SMP · b5c8a738
      Neil Brown authored
      For an SMP kernel, spin_lock() et.al. are functions.
      For a UP kernel, they are statements that must be terminated
      by a ';'.  This is not quite the same thing, and hence spin_lock()
      cannot be using inside a parenthesised expession.
      
      This patch changes ITERATE_MDDEV to use gcc's "statement expressions"
      instead which has the benefit of making the conditionals
      more readable.
      b5c8a738
    • Neil Brown's avatar
      [PATCH] Md sync: Remove compiler warning that revealed a bug. · 6da79789
      Neil Brown authored
      When we abort a resync before we even started (because we were
      interrupted while waiting for a conflicting resync to finish)
      we should not wait or, particularly, do the closing sync_request
      (as we haven't even calculated max_sectors yet).
      6da79789
    • Neil Brown's avatar
      [PATCH] Don't lock array for START_ARRAY · b1f6b684
      Neil Brown authored
      ... as autostart_array does it's own locking.
      
      
       ----------- Diffstat output ------------
       ./drivers/md/md.c |   26 ++++++++++++++------------
       1 files changed, 14 insertions(+), 12 deletions(-)
      b1f6b684
    • Linus Torvalds's avatar
      Merge http://linux-ntfs.bkbits.net/ntfs-tng-2.5 · 579cc8b7
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      579cc8b7
    • Greg Kroah-Hartman's avatar
    • Dave Jones's avatar
      [PATCH] udpated 3ware driver from vendor. · 518a6e87
      Dave Jones authored
      518a6e87
    • Pam Delaney's avatar
      [PATCH] Fusion driver update · 6eb57548
      Pam Delaney authored
      This upgrades the fusion driver
      
       - Provides support for the Ultra320 1030/1020 parts
       - Provides support for the PCI-X FC parts (919X/929X)
       - Provides proper support for high memory cases
       - Provides IA64 support
       - Adds kernels calls (pci_enable_device, pci_set_dma_mask,
         scsi_set_pci_device) for proper registration of PCI devics.
       - Adds New Error Handling support
      6eb57548
    • Matthew Wilcox's avatar
      [PATCH] Convert cm206 to a tasklet · d08ea7f2
      Matthew Wilcox authored
      Removes CM206_BH (patch approved by maintainer).
      Deletes the no-longer-used BH entries from the enum.  Explicit numbers
      added so as not to destroy binary compatibility needlessly.
      d08ea7f2
    • Linus Torvalds's avatar
      Merge ssh://master.kernel.org//home/mingo/bk-sched/ · 0334a4e2
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      0334a4e2
    • Ingo Molnar's avatar
    • Martin Dalecki's avatar
      [PATCH] IDE 93 · 68c14a04
      Martin Dalecki authored
       - Revert patch number 92. It turned out to be broken behind hope.  Personally I
         attribute this to the recent heat wave over here and apologize for the
         problems this may have caused. Turned out that my note about the change
         beeing dnagerous in the last change log was more then true...
      
       - Locking issues for ioctl handling.
      
       - Remove waiting_for_dma bit field. Use IDE_DMA bit flag instead.
         Apply this bit globally and not in the corresponding implementation
         functions.
      68c14a04
    • Linus Torvalds's avatar
      Merge http://gkernel.bkbits.net/net-drivers-2.5 · da873d20
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      da873d20
    • Linus Torvalds's avatar
      Merge http://gkernel.bkbits.net/alpha-2.5 · 16f97d32
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      16f97d32
    • Jeff Garzik's avatar
    • Jeff Garzik's avatar
      febbcd2f
    • Jeff Garzik's avatar
      Merge mandrakesoft.com:/home/jgarzik/vanilla/linus-2.5 · 9773bb7b
      Jeff Garzik authored
      into mandrakesoft.com:/home/jgarzik/repo/net-drivers-2.5
      9773bb7b
    • Ingo Molnar's avatar
      Merge elte.hu:/home/mingo/BK/v · b74e58ec
      Ingo Molnar authored
      into elte.hu:/home/mingo/BK/linux-2.5-sched
      b74e58ec