14 May, 2007

4 commits

  • This fixes an out-of-boundary condition when the classified
    band equals q->bands. Caught by Alexey

    Signed-off-by: Jamal Hadi Salim
    Signed-off-by: David S. Miller

    Jamal Hadi Salim
     
  • Multi-page allocations are always likely to fail. Since such failures
    are expected and non-critical in xfrm_hash_alloc, we shouldn't warn about
    them.

    Signed-off-by: Herbert Xu
    Signed-off-by: David S. Miller

    Herbert Xu
     
  • The function xfrm_policy_byid takes a dir argument but finds the policy
    using the index instead. We only use the dir argument to update the
    policy count for that direction. Since the user can supply any value
    for dir, this can corrupt our policy count.

    I know this is the problem because a few days ago I was deleting
    policies by hand using indicies and accidentally typed in the wrong
    direction. It still deleted the policy and at the time I thought
    that was cool. In retrospect it isn't such a good idea :)

    I decided against letting it delete the policy anyway just in case
    we ever remove the connection between indicies and direction.

    Signed-off-by: Herbert Xu
    Signed-off-by: David S. Miller

    Herbert Xu
     
  • ... doh

    Jeremy Fitzhardinge noted that the recent loop.c cleanups worked, but
    cause lockdep to complain.

    Ouch. OK, the deadlock is real and yes, I'm an idiot. Speaking of which,
    we probably want to s/lock/pin/ in drivers/base/map.c to avoid such
    brainos again. And yes, this stuff needs clear documentation. Will try
    to put one together once I get some sleep...

    Signed-off-by: Al Viro
    Cc: Jeremy Fitzhardinge
    Signed-off-by: Linus Torvalds

    Al Viro
     

13 May, 2007

17 commits

  • .. close the merge window

    Linus Torvalds
     
  • * 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm: (30 commits)
    [ARM] Use new get_irqnr_preamble
    [ARM] Ensure machine class menu is sorted alphabetically
    [ARM] 4333/2: KS8695: Micrel Development board
    [ARM] 4332/2: KS8695: Serial driver
    [ARM] 4331/3: Support for Micrel/Kendin KS8695 processor
    [ARM] 4371/1: AT91: Support for Atmel AT91SAM9RL-EK development board
    [ARM] 4372/1: Define byte sizes in asm-arm/sizes.h
    [ARM] 4370/3: AT91: Support for Atmel AT91SAM9RL processors.
    [ARM] Update mach-types
    [ARM] export symbol csum_partial_copy_from_user
    [ARM] iop13xx: msi support
    [ARM] stacktrace fix
    [ARM] Spinlock initializer cleanup
    [ARM] remove useless config option GENERIC_BUST_SPINLOCK
    [ARM] 4303/3: base kernel support for TI DaVinci
    [ARM] 4369/1: AT91: Fix circular dependency in header files
    [ARM] 4368/1: S3C24xx: build fix
    [ARM] 4364/1: AT91: LEDS on AT91SAM9261-EK
    [ARM] Fix iop32x/iop33x build
    [ARM] EBSA110: fix build errors caused by missing "const"
    ...

    Linus Torvalds
     
  • Adding tabs where spaces currently are.

    Signed-off-by: Daniel Walker
    Signed-off-by: Linus Torvalds

    Daniel Walker
     
  • Signed-off-by: Al Viro
    Acked-by: Ken Chen
    Signed-off-by: Linus Torvalds

    Al Viro
     
  • SLUB cannot run on i386 at this point because i386 uses the page->private and
    page->index field of slab pages for the pgd cache.

    Make SLUB run on i386 by replacing the pgd slab cache with a quicklist.
    Limit the changes as much as possible. Leave the improvised linked list in place
    etc etc. This has been working here for a couple of weeks now.

    Acked-by: William Lee Irwin III
    Signed-off-by: Christoph Lameter
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Christoph Lameter
     
  • Add missing cond_syscall statements for compat_sys_signalfd and
    compat_sys_timerfd.

    Cc: Davide Libenzi
    Signed-off-by: Heiko Carstens
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Heiko Carstens
     
  • When trying to load the ipmi_si module on a powerpc with no BMC (baseboard
    management controller) the driver failes to load correctly, but doesn't
    unregister itself from of_platform. So, on a second modprobe the kernel
    crashes. This patch adds the missing unregister call.

    Signed-off-by: Christian Krafft
    Signed-off-by: Corey Minyard
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Christian Krafft
     
  • Fix a rather obvious error that Patrick found in the setup routines. Need to
    set the proper address space in the ACPI case.

    Signed-off-by: Corey Minyard
    Cc: Patrick Schoeller
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Corey Minyard
     
  • This address bounces with "550 Unknown user".

    Signed-off-by: Stephen Rothwell
    Cc: Kylene Hall
    Cc: Marcel Selhorst
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Stephen Rothwell
     
  • On PPC64, we need to include asm/prom.h for function definitions.

    Signed-off-by: Stephen Rothwell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Stephen Rothwell
     
  • Flush the tty flip buffer when the line discipline input queue is flushed,
    including the user call tcflush(TCIFLUSH/TCIOFLUSH). This prevents
    unexpected stale data after a user application calls tcflush().

    Signed-off-by: Alan Cox
    Cc: Antonino Ingargiola
    Signed-off-by: Paul Fulghum
    Cc: Theodore Ts'o
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Paul Fulghum
     
  • Use zero_user_page() instead of open-coding it.

    [akpm@linux-foundation.org: kmap-type fixes]
    Signed-off-by: Nate Diller
    Acked-by: Anton Altaparmakov
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Nate Diller
     
  • Disable stacktrace filter support for x86-64 for now. Will be enable when we
    can get the dwarf2 unwinder back.

    Signed-off-by: Akinobu Mita
    Acked-by: Andi Kleen
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Akinobu Mita
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6:
    [SPARC]: Wire up signalfd/timerfd/eventfd syscalls.
    [SPARC64]: Add support for bq4802 TOD chip, as found on ultra45.
    [SPARC64]: Correct FIRE_IOMMU_FLUSHINV register offset.
    [SPARC64]: envctrl.c needs asm/io.h
    [SPARC64]: Update defconfig.
    [TTY]: Export proc_clear_tty() to modulea.
    [SPARC64]: pci_resource_adjust() cannot be __init.
    [SPARC64]: Spelling fixes.
    [SPARC]: Spelling fixes.
    [SPARC64]: Kill LARGE_ALLOCS and update defconfig.

    Linus Torvalds
     
  • Looks like these two are wired up in a wrong way.

    Cc: Davide Libenzi
    Cc: Andi Kleen
    Signed-off-by: Heiko Carstens
    Signed-off-by: Andi Kleen
    Signed-off-by: Linus Torvalds

    Heiko Carstens
     
  • The earlier change to call the bp mtrr init from bugs.c broke
    on some configurations due to missing includes. Noticed
    by "Avuton Olrich"

    Signed-off-by: Andi Kleen
    Signed-off-by: Linus Torvalds

    Andi Kleen
     
  • pm3fb_setup() should only compiled if pm3fb is built statically in the kernel.

    Signed-off-by: Antonino Daplas
    Signed-off-by: Linus Torvalds

    Antonino A. Daplas
     

12 May, 2007

19 commits