1. 22 Apr, 2002 40 commits
    • Linus Torvalds's avatar
      Duh. Re-fix the UP setup_per_cpu_areas() case that got · 835d3967
      Linus Torvalds authored
      fixed a few times too many already ;)
      835d3967
    • Linus Torvalds's avatar
      Merge bk://linuxusb.bkbits.net/linus-2.5 · c643de42
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      c643de42
    • Martin Dalecki's avatar
      [PATCH] 2.5.8 IDE 40 · 45fbecb1
      Martin Dalecki authored
      - Make the ide-cd driver usable again in DMA mode by adapting it to the TCQ
         related request handling changes and fixing some other minor stuff related to
         this. This patch is ugly like hell I know. Cleanup will follow separately.
         It was hard enough to make this going agian at all.
      45fbecb1
    • Linus Torvalds's avatar
      13f62bdb
    • Linus Torvalds's avatar
      Make "oldconfig" look for old defaults first in .config, then · 1dff8157
      Linus Torvalds authored
      in /etc/kernel-config, and only if that fails in the architecture-
      specific defconfig.
      1dff8157
    • Linus Torvalds's avatar
      a5f843dd
    • Dominik Kuhlen's avatar
      [PATCH] fix USB documentation bug · 93758098
      Dominik Kuhlen authored
      USB fix documentation bug
      
       After some source investigations I discovered a harmless mistake:
       The description of the  usb_control_msg(...) function says
       it returns 0, or less than 0 if an error occured, but
       the usb_internal_control_msg returns length, which is sometimes >0
       (success) or <0 if error.
      93758098
    • Linus Torvalds's avatar
      Remove remnants of compile-time PGE configuration, all the real work · 8f5022a1
      Linus Torvalds authored
      was already done based on CPU capabilities at run-time
      8f5022a1
    • David Brownell's avatar
      [PATCH] Re: PATCH: 2.5.8 ehci, submit errors · 934b1882
      David Brownell authored
      Oh, and for non-x86 platforms with interesting pci
      mapping, this tweak to one new routine would be
      important in a particular error path I've yet to see ... :)
      934b1882
    • David Brownell's avatar
      [PATCH] PATCH: 2.5.8 ehci, submit errors · f3f05300
      David Brownell authored
      It fixes problems with interrupt transfers, which I think that
      nobody else has run into (or I'd surely have heard of it :).
      Looks like not many folk are using USB 2.0 hubs yet.
      
          - wasn't checking enough of the periodic schedule to
            detect bandwidth overcommit (would BUG out)
          - frames to uframes is rightshift 3, not 8 :)
          - properly cleans up (no oops!) after certain rare errors
            in the interrupt submit path (just my luck to hit one)
          - use that cleanup to bypass some old implementation
            shortcuts in the control and bulk submit paths
          - there are also some other minor updates/cleanups
      f3f05300
    • Greg Kroah-Hartman's avatar
      USB keyspan driver · d50e9cba
      Greg Kroah-Hartman authored
        
        general cleanups:
        	- removed commented out function prototypes
        	- removed duplicate function prototypes
        	- removed unneeded #include
        	- added named initializers
        	- merged lots of the individual device structures into general 1, 2, and 4 port structures.
      d50e9cba
    • Rusty Russell's avatar
      [PATCH] SAK messages · 485f6629
      Rusty Russell authored
      vda@port.imtp.ilyichevsk.odessa.ua: SAK messages:
        I use SAK from time to time when I have problems with hung processes.
      
        Sometimes it is difficult to figure out what was being killed and why.
      
        For example, Midnight Commander contains a bug: it holds fd#3 open to
        the tty. It prevented me from daemonizing processes (like X) - they
        died upon SAK.
      
        This little patch makes SAK tell whom and why it kills. Tested.
      
      (Included in 2.4)
      485f6629
    • Rusty Russell's avatar
      [PATCH] Trivial patch for msbusmouse.c · adc03fc6
      Rusty Russell authored
      johnpol@2ka.mipt.ru: Re: Trivial patch for msbusmouse.c:
        > On Tue, Mar 19, 2002 at 03:22:58PM +1100, Rusty Russell wrote:
        > > Hi Russell,
        > >
        > > 	Please check this request_region() cleanup patch from Evgeniy
        > > Polyakov against 2.4 and 2.5.
        >
        > Both patches look fine, apart from the disgusting formatting being
        > different from the rest of the files.
      
        As you wish...
      
        > --
        > Russell King (rmk@arm.linux.org.uk)                The developer of
        > ARM Linux
        > http://www.arm.linux.org.uk/personal/aboutme.html
      
      
        	Evgeniy Polyakov ( s0mbre )
      adc03fc6
    • Rusty Russell's avatar
      [PATCH] Trivial patch for logibusmouse.c · 72484230
      Rusty Russell authored
      johnpol@2ka.mipt.ru: Re: Trivial patch for logibusmouse.c:
        > On Tue, Mar 19, 2002 at 03:22:58PM +1100, Rusty Russell wrote:
        > > Hi Russell,
        > >
        > > 	Please check this request_region() cleanup patch from Evgeniy
        > > Polyakov against 2.4 and 2.5.
        >
        > Both patches look fine, apart from the disgusting formatting being
        > different from the rest of the files.
      
        As you wish...
      
        > --
        > Russell King (rmk@arm.linux.org.uk)                The developer of
        > ARM Linux
        > http://www.arm.linux.org.uk/personal/aboutme.html
      
      
        	Evgeniy Polyakov ( s0mbre )
      72484230
    • Rusty Russell's avatar
      [PATCH] request_region in acornscsi.c · 65df45c8
      Rusty Russell authored
      Rusty Russell <rusty@rustcorp.com.au>: 13) request_region check, 11-20:
      65df45c8
    • Rusty Russell's avatar
      [PATCH] make TAGS to work with bitkeeper · 574faf0f
      Rusty Russell authored
      Peter Chubb <peter@chubb.wattle.id.au>: make TAGS to work with bitkeeper:
      
        If you type, `make TAGS' in the top-level of a kernel tree that's been
        created with bk clone (or if you're using sccs to maintain your own
        copy), then the sccs control files are included in the TAGS file (sccs
        distinguishes its control files with an s. prefix rather than using a
        suffix, so the matches on '*.h' etc pick them up.)
      574faf0f
    • Rusty Russell's avatar
      [PATCH] typo in BK-usage.txt · d37cf261
      Rusty Russell authored
      Pavel Machek <pavel@ucw.cz>: typo in BK-usage.txt:
      
        Them them is not english...
      d37cf261
    • Rusty Russell's avatar
      [PATCH] Warn about ioctl collision · 0dba1b19
      Rusty Russell authored
      Pavel Machek <pavel@ucw.cz>: Warn about ioctl collision:
        Hi!
      
        It is probably too late to fix it properly, but warning is better than
        nothing. (It confused the hell out of me...)
        									Pavel
      0dba1b19
    • Rusty Russell's avatar
      [PATCH] Message changed in libc · df7bc266
      Rusty Russell authored
      Pavel Machek <pavel@ucw.cz>: Message changed in libc:
        Hi!
      
        ...so this change makes it way easier to grep...
      
        									Pavel
      df7bc266
    • Rusty Russell's avatar
      [PATCH] ENOTTY for rtc ioctl · 6f455306
      Rusty Russell authored
      Paul Gortmaker <p_gortmaker@yahoo.com>: ENOTTY for rtc ioctl:
         ioctl(d, valid, crap) --> -EINVAL
         ioctl(d, crap, ....)  --> -ENOTTY
      
        man ioctl agrees:
      
               ENOTTY The specified request does not apply to the kind of
                      object that the descriptor d references.
      
        Currently we return -EINVAL for both cases which is not as
        informative for debugging stuff.
      
        Patch is for 2.5.6 but applies cleanly (with minor offset) to 2.4.19p2
      
        Paul.
      
      (Included in 2.2)
      (Included in 2.4)
      6f455306
    • Rusty Russell's avatar
      [PATCH] ENOTTY for nvram ioctl · 786ae877
      Rusty Russell authored
      Paul Gortmaker <p_gortmaker@yahoo.com>: ENOTTY for nvram ioctl:
         ioctl(d, valid, crap) --> -EINVAL
         ioctl(d, crap, ....)  --> -ENOTTY
      
        man ioctl agrees:
      
               ENOTTY The specified request does not apply to the kind of
                      object that the descriptor d references.
      
        Currently we return -EINVAL for both cases which is not as
        informative for debugging stuff.
      
        Patch is for 2.5.6 but applies cleanly (with minor offset) to 2.4.19p2
      
        Paul.
      
      (Included in 2.2)
      (Included in 2.4)
      786ae877
    • Rusty Russell's avatar
      [PATCH] 2.5.7 adjtimex and SINGLESHOT · 8018e670
      Rusty Russell authored
      8018e670
    • Rusty Russell's avatar
      [PATCH] clean up fs_exec.c · 97f64253
      Rusty Russell authored
      Martin Pool <mbp@samba.org>: trivial kernel patch -- clean up fs_exec.c:
      
      (Included in 2.4)
      97f64253
    • Rusty Russell's avatar
      [PATCH] kernel-hacking.tmpl · d1194126
      Rusty Russell authored
      Mark Hymers <markh@linuxfromscratch.org>: Kernel tree patch; Documentation_DocBook_kernel-hacking.tmpl:
        Hi,
      
        Just a small thing I noticed when grepping through the kernel source:
        one of the templates in Documentation/DocBook has a typo (I think).  I
        believe it should refer to MODULE_LICENSE instead of LICENCE.  Please
        correct me if I'm wrong though.
      
        Mark
      
      
      (Included in 2.4)
      d1194126
    • Rusty Russell's avatar
      [PATCH] newline in printk in olympic driver · 1915f91b
      Rusty Russell authored
      Anton Blanchard <anton@au1.ibm.com>: newline in printk in olympic driver:
      1915f91b
    • Rusty Russell's avatar
      [PATCH] fcntl returns wrong error code (Updated) · 837ed355
      Rusty Russell authored
      Christopher Yeoh <cyeoh@samba.org>: Re: fcntl returns wrong error code (Updated):
        At 2002/3/22 00:58+1100  Christopher Yeoh writes:
        > btw Stephen Rothwell pointed out that there is a much neater way to
        > achieve the same change. I'll post a new patch in the morning.
      
        This is the updated patch.
      
      
      (Included in 2.4)
      837ed355
    • Rusty Russell's avatar
      [PATCH] serial.c ISAPNP fix: · e73512e4
      Rusty Russell authored
      Andrey Panin <pazke@orbita1.ru>: serial.c ISAPNP fix:
        Thist patch fixes buglet which disables ISAPNP support in serial driver.
        __ISAPNP__ conditional symbol is used before isapnp.h is included.
      
      
      (Included in 2.2)
      (Included in 2.4)
      e73512e4
    • Rusty Russell's avatar
      [PATCH] drivers_net_sis900.c: misiing __devinit · f669f096
      Rusty Russell authored
      Andrey Panin <pazke@orbita1.ru>: drivers_net_sis900.c: misiing __devinit:
        This patch adds missing __devinit modifier for read_eeprom() function.
        Patch against 2.5.8. Compiles, but untested.
      f669f096
    • Rusty Russell's avatar
      [PATCH] drivers_net_eepro100: missing __devinit: · e57d8fac
      Rusty Russell authored
      Andrey Panin <pazke@orbita1.ru>: drivers_net_eepro100: missing __devinit:
        This patch adds missing __devinit modifiers for speedo_found1() and
        do_eeprom_cmd() functions. Patch against 2.5.8. Compiles, but untested.
      e57d8fac
    • Rusty Russell's avatar
      [PATCH] fix a warning in i386_pci-pc.c · 8a8d8171
      Rusty Russell authored
      Andrew Morton <akpm@zip.com.au>: fix a warning in i386_pci-pc.c:
      8a8d8171
    • Rusty Russell's avatar
      [PATCH] drivers_net_dl2k.c: missing __devinit's · ca3337ce
      Rusty Russell authored
      Andrey Panin <pazke@orbita1.ru>: drivers_net_dl2k.c: missing __devinit's:
        This patch adds missing __devinit modifiers for read_eeprom() and
        parse_eeprom() functions. Patch against 2.5.8. Compiles, but untested.
      ca3337ce
    • Alexander Viro's avatar
      [PATCH] (5/5) sane procfs/dcache interaction · 0be49a5c
      Alexander Viro authored
       - sane retention policy for /proc/<pid>/fd/* - ->d_revalidate() says
         "kill it" if descriptor is not opened anymore (in addition to checks
         for task being dead) and we allow dentries of /proc/<pid>/fd/<n> to
         stay around.
      0be49a5c
    • Alexander Viro's avatar
      [PATCH] (4/5) sane procfs/dcache interaction · b991a4bf
      Alexander Viro authored
       - preparation for sane policy for /proc/<pid>/fd/* - don't store
         struct file * in these inodes anymore.
      b991a4bf
    • Alexander Viro's avatar
      [PATCH] (3/5) sane procfs/dcache interaction · 00306333
      Alexander Viro authored
       - sane dentry retention.  Namely, we don't kill /proc/<pid> dentries at the
         first opportunity (as the current tree does).  Instead we do the following:
      	* ->d_delete() kills it only if process is already dead.
      	* all ->lookup() in proc/base.c end with checking if process is still
      	  alive and unhash if it isn't.
      	* proc_pid_lookup() (lookup for /proc/<pid>) caches reference to dentry
      	  in task_struct.  It's _not_ counted in ->d_count.
      	* ->d_iput() resets said reference to NULL.
      	* release_task() (burying a zombie) checks if there is a cached
      	  reference and if there is - shrinks the subtree.
      	* tasklist_lock is used for exclusion.
         That way we are guaranteed that after release_task() all dentries in
         /proc/<pid> will go away as soon as possible; OTOH, before release_task()
         we have normal retention policy - they go away under memory pressure with
         the same rules as for dentries on any other fs.
      00306333
    • Alexander Viro's avatar
      [PATCH] (2/5) sane procfs/dcache interaction · 981936da
      Alexander Viro authored
       - new helper in fs/proc/base.c - name_to_int(dentry) returns ~0U if name
         doesn't match 0|[1-9][0-9]* or is too large.  Otherwise it returns
         numeric value of name.  proc_pid_lookup() and proc_lookupfd() converted.
      981936da
    • Alexander Viro's avatar
      [PATCH] (1/5) sane procfs/dcache interaction · ea306a2a
      Alexander Viro authored
       - take unhash_process() into sched.c, move zeroing ->pid into it (and
         under tasklist_lock)
      ea306a2a
    • Alexander Viro's avatar
      [PATCH] buffer_head leak · 87f77892
      Alexander Viro authored
      Fix buffer-head leak on truncate race.
      
      The reason why it hadn't been triggered left right and center is that we
      step on that path only when partial truncate blows away an indirect
      block shared between truncated and remaining areas _and_ races with
      ext2_get_block() in the beginning of said area.  IOW, we need
      
      	* indirect block with hole in the beginning
      	* get_block starting to read that block
      	* truncate killing everything past the hole (and thus freeing indirect
      	  block in question)
      	* get_block completing the read and noticing that block is actually
      	  gone.
      
      OK...  IMO we should do that brelse() outside of the loop.
      87f77892
    • Alexander Viro's avatar
      [PATCH] (6/6) alpha fixes · 9d129978
      Alexander Viro authored
       - fixed off-by-PAGE_OFFSET in populate_pmd() (alpha, again)
      9d129978
    • Alexander Viro's avatar
      [PATCH] (5/6) alpha fixes · 0c579f1d
      Alexander Viro authored
       - alpha/mm/init.c forgot to set max_pfn
      0c579f1d
    • Alexander Viro's avatar
      [PATCH] (4/6) alpha fixes · 8e073e50
      Alexander Viro authored
       - (dumb) default_idle() provided (alpha)
      8e073e50