1. 23 May, 2002 2 commits
    • Christoph Hellwig's avatar
      [PATCH] include buffer_head.h in actual users instead of fs.h (2/10) · 503a7b23
      Christoph Hellwig authored
      Declare buffer_init() extern in init/main.c like the other _init so that
      it doesn't have to include buffer_head.h.  Remove buffer_init() there.
      503a7b23
    • Christoph Hellwig's avatar
      [PATCH] include buffer_head.h in actual users instead of fs.h (1/10) · f97b337e
      Christoph Hellwig authored
      Now that fs.h grow due to the lock.h removal let's reduce it's overhead
      again:  Instead of penalizing ever user of fs.h with the overhead of the
      buffer head interface let it's users include it directly.
      
      This also shows nicely which parts of the core kernel still depend on the
      buffer head interface, and allows that to be cleaned up properly.
      
      This is the first of ten patches and adds the includes needed by
      buffer_head.h to it and fixes it's inclusion guard.
      f97b337e
  2. 22 May, 2002 38 commits
    • Mikael Pettersson's avatar
      [PATCH] possible fix for broken floppy driver, take 2 · d0f0cde1
      Mikael Pettersson authored
      Here is an updated patch for the floppy driver which got broken in
      2.5.13. "read block 0 on ->revalidate()" is now implemented through
      the bio interface, following a suggestion by Christoph Hellwig.
      
      I still cannot explain why block_dev.c's ->bd_block_size change
      caused data corruption, but removing that code fixes the floppy
      driver and doesn't seem to cause any problems on my test box.
      d0f0cde1
    • Linus Torvalds's avatar
      Merge bk://linuxusb.bkbits.net/linus-2.5 · c1421735
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      c1421735
    • Linus Torvalds's avatar
      Merge http://linux-isdn.bkbits.net/linux-2.5.make · 7ad03e80
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      7ad03e80
    • Kai Germaschewski's avatar
      kbuild: Fix command line printing · 833b7708
      Kai Germaschewski authored
      If our command line contains an ';', we'd only print half of
      it and execute the other half - not good.
      833b7708
    • Linus Torvalds's avatar
      Manual merge fixup · 9d912132
      Linus Torvalds authored
      9d912132
    • Roman Zippel's avatar
      [PATCH] m68k mmu update · dee4f8ff
      Roman Zippel authored
      This patch removes the quicklist support and updates m68k to the recent
      page table and tlb interface changes.
      It also includes some smaller cleanups:
      - turn "extern inline" into "static inline"
      - convert some macros into inline functions
      dee4f8ff
    • Kai Germaschewski's avatar
      Merge linux-isdn@linux-isdn.bkbits.net:linux-2.5.make · 3198f1d1
      Kai Germaschewski authored
      into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make-built-in
      3198f1d1
    • Greg Kroah-Hartman's avatar
      USB stv680, remove urb->next usage · 88b76130
      Greg Kroah-Hartman authored
      Removed the use of the next field due to the change in the urb structure.
      88b76130
    • Greg Kroah-Hartman's avatar
      USB se401, remove urb->next usage · e627fe14
      Greg Kroah-Hartman authored
      Removed the use of the next field due to the change in the urb structure.
      e627fe14
    • Kai Germaschewski's avatar
      drivers/net: Simplify linking of subdirs · 66b8dbf4
      Kai Germaschewski authored
      Use the just introduced Rules.make extension to clean up 
      drivers/net/*/Makefile.
      66b8dbf4
    • Kai Germaschewski's avatar
      Simplify linking/building objects in subdirectories · aa2ac864
      Kai Germaschewski authored
      New-style Makefiles have a nice way of declaring objects
      which need to be built either built-in or as modules:
      
              obj-$(CONFIG_EEPRO100) += eepro100.o
      
      However, handling objects in subdirectories, which need to be
      built and linked is not as nice:
      
              subdir-$(CONFIG_E100) += e100
      
              ifeq ($(CONFIG_E100),y)
                obj-y += e100/built-in.o
              endif
      
      This means we descend into the subdirectory when building
      vmlinux / modules, depending on CONFIG_XXX. When we are building
      vmlinux we also need to link whatever has been built in the
      subdirectory, so we add it to $(obj-y) at the appropriate place
      (link order is important).
      
      Now, the extension below allows to rewrite the second case into
      
               obj-$(CONFIG_E100) += e100/
      
      which looks much nicer ;-) Existing behavior is not changed, and the
      only prerequisite to using the extension above is that the O_TARGET in
      the subdir is named "built-in.o".
      aa2ac864
    • Alexander Viro's avatar
      [PATCH] md.c cleanup · d33fb4fe
      Alexander Viro authored
      	Removes dev_unit() and messing with kdev_t in match_dev_unit()
      d33fb4fe
    • Alexander Viro's avatar
      [PATCH] (4/) BKL removal in d_move() · 726761cc
      Alexander Viro authored
      	... is finally done.
      726761cc
    • Rusty Russell's avatar
      [PATCH] check_region elimination · c7dbd2e1
      Rusty Russell authored
      Trivial patch update against 2.5.17:
      johnpol@2ka.mipt.ru: 23) request_region check, 21-30:
        here is one more trivial check.
      
        So please test and apply.
      
        	Evgeniy Polyakov ( s0mbre )
      c7dbd2e1
    • Rusty Russell's avatar
      [PATCH] check_region elimination · 07f6a887
      Rusty Russell authored
      Trivial patch update against 2.5.17:
      johnpol@2ka.mipt.ru: Re: 47) request_region check, 41-50:
      07f6a887
    • Rusty Russell's avatar
      [PATCH] check_region elimination · f0e0a6df
      Rusty Russell authored
      Trivial patch update against 2.5.17:
      johnpol@2ka.mipt.ru: 21) request_region check, 21-30:
        here is one more trivial check.
      
        So please test and apply.
      
        	Evgeniy Polyakov ( s0mbre )
      f0e0a6df
    • Rusty Russell's avatar
      [PATCH] check_region elimination · 56fede86
      Rusty Russell authored
      johnpol@2ka.mipt.ru: 18) request_region check, 11-20:
        here is one more trivial check.
      
        So please test and apply.
      
        	Evgeniy Polyakov ( s0mbre )
      56fede86
    • Rusty Russell's avatar
      [PATCH] arch/arm/kernel/via82c505.c · fa049cc7
      Rusty Russell authored
      (Included in 2.4)
      johnpol@2ka.mipt.ru: 1) request_region:
        > 	Send them one at a time.  Last time I had to write a script to
        > mail them one at a time to myself.
      
        Ooops, sorry... I've got a gluk...
      
        > Thanks!
        > Rusty.
        > --
        >   Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
      
      
        	Evgeniy Polyakov ( s0mbre )
      fa049cc7
    • Rusty Russell's avatar
      [PATCH] jiffies.h · a58a8db0
      Rusty Russell authored
      Trivial patch update against 2.5.17:
      Tim Schmielau <tim@physik3.uni-rostock.de>: move jiffies from sched.h to it's own jiffies.h:
        Move 'jiffies' from sched.h to their own header.
        Then pull the sched.h dependency from 67 files that include sched.h for
        no apparent reason other than the jiffies declaration.
      
        Move the time_[before,after}{_eq}() macros from timer.h to jiffies.h,
        since there are *no* files using them that don't also use jiffies.
      
        Many more sched.h dependencies can be killed after capable(),
        request_irq(), and free_irq() are moved out of <linux/sched.h>.
      
      
        Tim Schmielau <tim@physik3.uni-rostock.de>
      a58a8db0
    • Rusty Russell's avatar
      [PATCH] smp_call_function doco fix · 57078435
      Rusty Russell authored
      Trivial patch update against 2.5.17:
      dipankar@in.ibm.com: smp_call_function change:
        My earlier patch fixed only i386. As per Dave Miller's suggestion,
        I have fixed smp_call_function for other smp architectures too.
      
        Description
        -----------
        Going by the documentation and use of _bh version of spin_lock(),
        smp_call_function() is allowed to be called from BH context,
        We can run into a deadlock with some locks if we do so.
        This because reader-writer locks can sometimes be used optimally
        by not disabling irqs while taking the reader side if only the
        reader side of the lock is taken from irq context.
      
              CPU #0                                CPU #1
      
              read_lock(&tasklist_lock)
                                               write_lock_irq(&tasklist_lock)
                                               [spins with interrupt disabled]
              [Interrupted by BH]
              smp_call_function() for BH
                   handler
                                               [ doesn't take the IPI]
      
        So, cpu #1 doesn't take the IPI and cpu #0 spinwaits
        for the IPI handler to start, resulting in a deadlock.
      
        The last time I looked, I couldn't see smp_call_function() being
        called from BH context anywhere. So, there is no immediate problem.
        However it seems right to correct the documentation and also not
        disable BH while taking the call lock since it isn't necessary.
        This patch does exactly that.
      
        Thanks
        --
        Dipankar Sarma  <dipankar@in.ibm.com> http://lse.sourceforge.net
        Linux Technology Center, IBM Software Lab, Bangalore, India.
      
        smp_call_func-2.5.14-1.patch
        ----------------------------
      57078435
    • Rusty Russell's avatar
      [PATCH] MIPS/MIPS64 signal fix · 87c25437
      Rusty Russell authored
      (Included in 2.4)
      
      Stephen Rothwell <sfr@canb.auug.org.au>: small typo in signal code for cris, mips and mips64:
        Hi Linus,
      
        This looks very obvious to me but I may be mistaken.
      
        I haven't even attempted to build this as I don't have machines
        of any of the affected archs.
      
        --
        Cheers,
        Stephen Rothwell                    sfr@canb.auug.org.au
        http://www.canb.auug.org.au/~sfr/
      87c25437
    • Rusty Russell's avatar
      [PATCH] serial typo · a8a066d4
      Rusty Russell authored
      (It's ttyS in every other message in the driver).
      
      Zwane Mwaikambo <zwane@linux.realnet.co.sz>: serial unload message:
      a8a066d4
    • Rusty Russell's avatar
      [PATCH] cris signal fix · 7718b60b
      Rusty Russell authored
      Stephen Rothwell <sfr@canb.auug.org.au>: small typo in signal code for cris, mips and mips64:
        Hi Linus,
      
        This looks very obvious to me but I may be mistaken.
      
        I haven't even attempted to build this as I don't have machines
        of any of the affected archs.
      
      
      (Included in 2.4)
      7718b60b
    • Rusty Russell's avatar
      [PATCH] sigio delivery fix · c1140e63
      Rusty Russell authored
      Stephen Rothwell <sfr@canb.auug.org.au>: fix for sigio delivery:
        Hi Linus,
      
        This patch means that we keep the upper 16 bits of the si_code
        field of the siginfo structure that is delivered with and SIGIOs.
        We need this so that the code that actually copies the siginfo_t
        out to user mode knows which part of the union to copy.  We currently
        get away with out this information because we always copy at least
        two ints worth of the union, but this s an ugly hack and I would
        like to tidy it up.
      
        Comments?
      c1140e63
    • Rusty Russell's avatar
      [PATCH] min/max elimination in netfilter.h · 190cd5e5
      Rusty Russell authored
      Rusty Russell <rusty@rustcorp.com.au>: Trivial patch to remove minmax macros:
        Hi Harald,
        	The MIN & MAX etc. macros aren't used anywhere, and kernel.h
        has the new min & max anyway, which should be used.
      
        Cheers,
        Rusty.
      190cd5e5
    • Rusty Russell's avatar
      [PATCH] MIPS min/max replacement II · aa2364b8
      Rusty Russell authored
      (Once again, Ralf said straight to you).
      
      Rusty Russell <rusty@rustcorp.com.au>: Trivial MIPS gt64120-pci patch to remove minmax macros:
        Also changes over to standard ALIGN macro:
      aa2364b8
    • Rusty Russell's avatar
      [PATCH] MIPS min/max replacement · f6581020
      Rusty Russell authored
      (Ralf said to send this straight to you)
      
      Rusty Russell <rusty@rustcorp.com.au>: Trivial MIPS baget patch to remove minmax macros:
        In favour of kernel.h one:
      f6581020
    • Rusty Russell's avatar
      [PATCH] DMA-mapping.txt typo fix · 80b8ce43
      Rusty Russell authored
      Roger Luethi <rl@hellgate.ch>: DMA-mapping.txt: sg_dma_length() -> sg_dma_len():
      80b8ce43
    • Rusty Russell's avatar
      [PATCH] Fix order of #includes in init_version.c · 435cb0af
      Rusty Russell authored
      [UTS_MACHINE is now defined in the (generated) compile.h]
      
      David Gibson <david@gibson.dropbear.id.au>: [TRIVIAL PATCH] Fix order of #includes in init_version.c:
        Linus, please apply.  compile.h must be #included before uts.h, or
        uts.h will define UTS_MACHINE (incorrectly) which is then redefined in
        compile.h.
      435cb0af
    • Rusty Russell's avatar
      [PATCH] Remove warning in fs/nfs/nfsroot.c · e3b54695
      Rusty Russell authored
      David Gibson <david@gibson.dropbear.id.au>: TRIVIAL: Remove warning in fs_nfs_nfsroot.c:
        Linus, please apply.  The patch below removes a warning in
        fs/nfs/nfsroot.c by including a header file providing a prototype for
        in_aton().
      e3b54695
    • Rusty Russell's avatar
      [PATCH] printk() cleanup in ide-pnp.c · f1effee1
      Rusty Russell authored
      Andrey Panin <pazke@orbita1.ru>: printk() cleanup in ide-pnp.c:
        Attached patch adds a few missing printk levels in ide-pnp.c file.
      f1effee1
    • Rusty Russell's avatar
      [PATCH] drivers_net_sundance.c: missing __devinit · c2951331
      Rusty Russell authored
      Andrey Panin <pazke@orbita1.ru>: drivers_net_sundance.c: missing __devinit:
        this patch adds missing __devinit modifier to sundance.c network driver.
        Patch against 2.5.15. Compiles, but untested.
      c2951331
    • Rusty Russell's avatar
      [PATCH] declance.c · d74cc526
      Rusty Russell authored
      "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>: [patch] 2.4.19-pre7: A few declance multicast updates:
        Hello,
      
         It seems all Ethernet device drivers were bulk-converted to use the new
        common CRC functions.  I discovered declance used incorrect endianness to
        calculate the sum for its multicast filter and had a few alignment
        problems there.  I fixed these bugs in the MIPS/Linux CVS tree which is at
        2.4.18 now.  Here is the respective update for the official kernel.
      
         The bugs make the filter non-functional.  Please apply.
      
          Maciej
      d74cc526
    • Rusty Russell's avatar
      [PATCH] drivers/net/epic100.c: missing __devinit · 38163886
      Rusty Russell authored
      Andrey Panin <pazke@orbita1.ru>: drivers_net_epic100.c: missing __devinit:
        This patch adds missing __devinit modifier for read_eeprom() function.
        Patch against 2.5.9. Compiles, but untested.
      38163886
    • Alexander Viro's avatar
      [PATCH] (3/4) BKL removal from d_move() · ef2dc37c
      Alexander Viro authored
      	nfsd_acceptable() calls permission() on a a dentry that is
      not guaranteed to stay around (its child is pinned down, but there
      is no promises that child won't move and nothing pins dentry itself).
      Fixed, cleaned up.
      ef2dc37c
    • Linus Torvalds's avatar
    • Linus Torvalds's avatar
      Merge http://linux-isdn.bkbits.net/linux-2.5.make · cc00cee0
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      cc00cee0
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/davem/BK/net-2.5 · fcd35893
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      fcd35893