1. 22 May, 2004 10 commits
    • Andrew Morton's avatar
      [PATCH] blk: clear completion stack pointer on return · cb79a0b2
      Andrew Morton authored
      From: Jens Axboe <axboe@suse.de>
      
      It doesn't always look safe to let ->waiting remain set when returning from
      functions that set it to point to stack area, since various locations check
      for != NULL to see if it's valid.  So clear it on return from
      ide_do_drive_cmd() and blk_execute_rq().
      cb79a0b2
    • Andrew Morton's avatar
      [PATCH] Sanitise handling of unneeded syscall stubs · 581ae915
      Andrew Morton authored
      From: David Mosberger <davidm@napali.hpl.hp.com>
      
      Below is a patch that tries to sanitize the dropping of unneeded system-call
      stubs in generic code.  In some instances, it would be possible to move the
      optional system-call stubs into a library routine which would avoid the need
      for #ifdefs, but in many cases, doing so would require making several
      functions global (and possibly exporting additional data-structures in
      header-files).  Furthermore, it would inhibit (automatic) inlining in the
      cases in the cases where the stubs are needed.  For these reasons, the patch
      keeps the #ifdef-approach.
      
      This has been tested on ia64 and there were no objections from the
      arch-maintainers (and one positive response).  The patch should be safe but
      arch-maintainers may want to take a second look to see if some __ARCH_WANT_foo
      macros should be removed for their architecture (I'm quite sure that's the
      case, but I wanted to play it safe and only preserved the status-quo in that
      regard).
      581ae915
    • Andrew Morton's avatar
      [PATCH] trivial: remove duplicated #includes · 2b590e85
      Andrew Morton authored
      From: Rusty Russell <rusty@rustcorp.com.au>
      
      From:  a.othieno@bluewin.ch (Arthur Othieno)
      From:  Vinay K Nallamothu <vinay-rc@naturesoft.net>
      
      Remove various duplicated #includes
      
      From:  Vinay K Nallamothu <vinay-rc@naturesoft.net>
      
              Use mod_timer in drivers_block_floppy98.c
      
      From:  carbonated beverage <ramune@net-ronin.org>
      
              doc update for bk usage
              bk://... appears to be dead, use http://... instead.
      2b590e85
    • Andrew Morton's avatar
      [PATCH] trivial: use page_to_phys in dma_map_page() · f110f331
      Andrew Morton authored
      From: Trivial Patch Monkey <trivial@rustcorp.com.au>
      
      From:  Adam Lackorzynski <adam@os.inf.tu-dresden.de>
      
      dma_map_page() can be simplified by using page_to_phys instead of writing the
      calculation explicitly.
      f110f331
    • Andrew Morton's avatar
      [PATCH] fbdev: mode switching fix. · 458a5513
      Andrew Morton authored
      From: James Simmons <jsimmons@infradead.org>
      
      This fixes the bugs that where in mode switch via stty.
      
      The problem was we couldn't set the mode just by using the x and y
      resolution.  We use modedb to fill in the rest.  There also was a bug that
      allowed you to change the console resolution for drivers with fixed
      resolutions.  This would mess up your display.  Now that is fixed.
      458a5513
    • Andrew Morton's avatar
      [PATCH] fix sendfile on 64bit architectures · ef7df33c
      Andrew Morton authored
      From: Andi Kleen <ak@suse.de>
      
      sys_sendfile has a hardcoded 2GB limit.  64bit architectures should
      probably always use sys_sendfile64() in their native system tables, because
      for them sizeof(off_t) == sizeof(loff_t).  This patch does this.  It seemed
      easier to just change the 64bit entry tables instead of fixing up all the
      emulation layers to do 2GB checks on their own.
      
      I changed all 64bit architectures except for parisc64, which seemed to
      already have a sendfile64.
      ef7df33c
    • Andrew Morton's avatar
      [PATCH] console autodetection for pmac · 7c0e6555
      Andrew Morton authored
      From: Olaf Hering <olh@suse.de>
      
      This one allows console autodetection for powermacs.
      7c0e6555
    • Andrew Morton's avatar
      [PATCH] gss_api build fix · 9b19f4f0
      Andrew Morton authored
      From: "J. Bruce Fields" <bfields@fieldses.org>
      
      Older gcc's don't like that dimensionless array.  Remove it in favour of a
      pointer to the data.
      9b19f4f0
    • Andrew Morton's avatar
      [PATCH] vga16fb warning fix · f0ab7d06
      Andrew Morton authored
      drivers/video/vga16fb.c:1350: warning: assignment makes pointer from integer without a cast
      f0ab7d06
    • Andrew Morton's avatar
      [PATCH] Fix !CONFIG_SYSFS build · ab09753f
      Andrew Morton authored
      From: Maneesh Soni <maneesh@in.ibm.com>
      
      The sysfs_rename_dir() interface was changed recently but I forgot to
      change the definition if CONFIG_SYSFS is not defined.
      ab09753f
  2. 21 May, 2004 30 commits