1. 01 6月, 2007 1 次提交
  2. 31 5月, 2007 18 次提交
    • R
      m68k: discontinuous memory support · 12d810c1
      Roman Zippel 提交于
      Fix support for discontinuous memory
      Signed-off-by: NRoman Zippel <zippel@linux-m68k.org>
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      12d810c1
    • A
      afs: needs sched.h · 00c541ea
      Andrew Morton 提交于
      mips:
      
      fs/afs/flock.c: In function `afs_lock_may_be_available':
      fs/afs/flock.c:55: error: dereferencing pointer to incomplete type
      fs/afs/flock.c: In function `afs_lock_work':
      fs/afs/flock.c:84: error: dereferencing pointer to incomplete type
      fs/afs/flock.c:89: error: dereferencing pointer to incomplete type
      fs/afs/flock.c:109: error: dereferencing pointer to incomplete type
      fs/afs/flock.c:135: error: dereferencing pointer to incomplete type
      fs/afs/flock.c:143: error: dereferencing pointer to incomplete type
      fs/afs/flock.c:158: error: dereferencing pointer to incomplete type
      fs/afs/flock.c:161: error: dereferencing pointer to incomplete type
      fs/afs/flock.c:179: error: `TASK_UNINTERRUPTIBLE' undeclared (first use in this function)
      fs/afs/flock.c:179: error: (Each undeclared identifier is reported only once
      fs/afs/flock.c:179: error: for each function it appears in.)
      fs/afs/flock.c:179: error: `TASK_INTERRUPTIBLE' undeclared (first use in this function)
      fs/afs/flock.c:182: error: dereferencing pointer to incomplete type
      
      Cc: David Howells <dhowells@redhat.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      00c541ea
    • C
      SLUB: Fix NUMA / SYSFS bootstrap issue · 8ffa6875
      Christoph Lameter 提交于
      We need this patch in ASAP.  Patch fixes the mysterious hang that remained
      on some particular configurations with lockdep on after the first fix that
      moved the #idef CONFIG_SLUB_DEBUG to the right location.  See
      http://marc.info/?t=117963072300001&r=1&w=2
      
      The kmem_cache_node cache is very special because it is needed for NUMA
      bootstrap.  Under certain conditions (like for example if lockdep is
      enabled and significantly increases the size of spinlock_t) the structure
      may become exactly the size as one of the larger caches in the kmalloc
      array.
      
      That early during bootstrap we cannot perform merging properly.  The unique
      id for the kmem_cache_node cache will match one of the kmalloc array.
      Sysfs will complain about a duplicate directory entry.  All of this occurs
      while the console is not yet fully operational.  Thus boot may appear to be
      silently failing.
      
      The kmem_cache_node cache is very special.  During early boostrap the main
      allocation function is not operational yet and so we have to run our own
      small special alloc function during early boot.  It is also special in that
      it is never freed.
      
      We really do not want any merging on that cache.  Set the refcount -1 and
      forbid merging of slabs that have a negative refcount.
      Signed-off-by: NChristoph Lameter <clameter@sgi.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      8ffa6875
    • R
      m68k: runtime patching infrastructure · fbe9c961
      Roman Zippel 提交于
      Add the basic infrastructure to allow runtime patching of kernel and modules
      to optimize a few functions with parameters, which are only calculated once
      during bootup and are otherwise constant.  Use this for the conversion between
      virtual and physical addresses.
      Signed-off-by: NRoman Zippel <zippel@linux-m68k.org>
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      fbe9c961
    • A
      ntfs_init_locked_inode(): fix array indexing · 1fc799e1
      Andrew Morton 提交于
      Local variable `i' is a byte-counter.  Don't use it as an index into an array
      of le32's.
      Reported-by: N"young dave" <hidave.darkstar@gmail.com>
      Cc: "Christoph Lameter" <clameter@sgi.com>
      Acked-by: NAnton Altaparmakov <aia21@cantab.net>
      Cc: <stable@kernel.org>
      Cc: Adrian Bunk <bunk@stusta.de>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      1fc799e1
    • T
      pci-quirks: fix MSI disabling on RS400-200 and RS480 · ebdf7d39
      Tejun Heo 提交于
      Commit c0affe9d doesn't work because
      the host controller is being quirked not a PCI bridge.  This patch
      reverts the commit, rename quirk_svw_msi() to quirk_disable_all_msi()
      and use it instead.
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      Cc: Matias Alejandro Torres <torresmat@gmail.com>
      Cc: Greg K-H <greg@kroah.com>
      Cc: Jeff Garzik <jeff@garzik.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      ebdf7d39
    • C
      SLUB: More documentation · c1aee215
      Christoph Lameter 提交于
      Update documentation to describe how to read a SLUB error report.
      Add slub parameters to Documentation/kernel-parameters.
      Signed-off-by: NChristoph Lameter <clameter@sgi.com>
      Cc: "Randy.Dunlap" <rdunlap@xenotime.net>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      c1aee215
    • M
      at91: fix enable/disable_irq_wake symmetry in pcmcia driver · 9af20376
      Marc Pignat 提交于
      Fix enable_irq_wake and disable_irq_wake symmetry in at91 pcmcia driver
      
      disable_irq_wake call must be symmetric with enable_irq_wake.  This patch
      fix that problem for the at91_pcmia driver.  It seems that this patch was
      forgotten when we've fixed irq_wake symmetry in all at91 related drivers.
      It was discussed in the "at91 drivers and [enable/disable]_irq_wake
      (wrong?) usage" thread on the linux-arm-kernel mailing list.
      Signed-off-by: NMarc Pignat <marc.pignat@hevs.ch>
      Cc: David Brownell <david-b@pacbell.net>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Cc: Pavel Machek <pavel@ucw.cz>
      Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
      Cc: Andrew Victor <andrew@sanpeople.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      9af20376
    • L
      smpboot: fix cachesize comparison in smp_tune_scheduling() · 8387c1a4
      Linus Torvalds 提交于
      Jarek Poplawski noted that boot_cpu_data.x86_cache_size is signed int
      and can be < 0 too.
      
      In fact we test for it. Except we assigned it to an unsigned value..
      
      Cc: Jarek Poplawski <jarkao2@o2.pl>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Nick Piggin <nickpiggin@yahoo.com.au>
      Cc: Andi Kleen <ak@suse.de>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      8387c1a4
    • A
      neofb: Fix pseudo_palette array overrun in neofb_setcolreg · a2b7d2e9
      Antonino A. Daplas 提交于
      The pseudo_palette has room for 16 entries only, but in truecolor mode, it
      attempts to write 256.
      Signed-off-by: NAntonino Daplas <adaplas@gmail.com>
      Acked-by: NTero Roponen <teanropo@jyu.fi>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      a2b7d2e9
    • B
      a bug in ramfs_nommu_resize function, passing old size to vmtruncate · 3f0a6766
      Bryan Wu 提交于
      It should be pass "newsize" to vmtruncate function to modify the
      inode->i_size, while the old size is passed to vmtruncate.
      
      This bug was caught by LTP truncate test case on Blackfin platform.
      After it was fixed, the LTP truncate test case passed.
      Signed-off-by: NBryan Wu <bryan.wu@analog.com>
      Cc: David Howells <dhowells@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      3f0a6766
    • T
      NFS: Fix a refcount leakage in O_DIRECT · b4946ffb
      Trond Myklebust 提交于
      The current code is leaking a reference to dreq->kref when the calls to
      nfs_direct_read_schedule() and nfs_direct_write_schedule() return an
      error.
      This patch moves the call to kref_put() from nfs_direct_wait() back into
      nfs_direct_read() and nfs_direct_write() (which are the functions that
      actually took the reference in the first place) fixing the leak.
      
      Thanks to Denis V. Lunev for spotting the bug and proposing the original
      fix.
      Acked-by: NDenis V. Lunev <dlunev@gmail.com>
      Acked-by: NChuck Lever <chuck.lever@oracle.com>
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      b4946ffb
    • K
      fix possible null ptr deref in kallsyms_lookup · 7a74fc49
      Kyle McMartin 提交于
      ugh, this function gets called by our unwinder. recursive backtrace for
      the win... bisection to find this one was "fun."
      Signed-off-by: NKyle McMartin <kyle@parisc-linux.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      7a74fc49
    • R
      alpha: support new syscalls · b927b3e2
      Richard Henderson 提交于
      Some of the new syscalls require supporting TIF_RESTORE_SIGMASK.
      Signed-off-by: NRichard Henderson <rth@twiddle.net>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      b927b3e2
    • R
      alpha: cleanup in bitops.h · 74fd1b68
      Richard Henderson 提交于
      Remove 2 functions private to the alpha implemetation,
      in favor of similar functions in <linux/log2.h>.
      
      Provide a more efficient version of the fls64 function
      for pre-ev67 alphas.
      Signed-off-by: NRichard Henderson <rth@twiddle.net>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      74fd1b68
    • L
      Merge master.kernel.org:/home/rmk/linux-2.6-arm · f54496f5
      Linus Torvalds 提交于
      * master.kernel.org:/home/rmk/linux-2.6-arm:
        [ARM] Fix some section mismatch warnings
        [ARM] 4417/1: Serial: Fix AMBA drivers locking
        [ARM] 4394/1: ARMv7: Add the TLB range operations
        [ARM] 4410/1: Remove extern declarations in coyote/ixdpg425-pci.c
        [ARM] 4416/1: NWFPE: fix undeclared symbols
        [ARM] 4415/1: AML5900: fix sparse warnings from map_io
        [ARM] 4414/1: S3C2443: sparse fix for clock.c
        [ARM] 4412/1: S3C2412: reset errata fix
        [ARM] 4411/1: KS8695: Another serial driver fix
        [ARM] oprofile: avoid lockdep warnings on mpcore oprofile init
        [ARM] Fix stacktrace FP range checking
        [ARM] use __used attribute
        [ARM] enable arbitary speed tty ioctls and split input/output speed
        [ARM] remove unused header file: arch/arm/mach-s3c2410/bast.h
        [ARM] 4406/1: Trivial NSLU2 / NAS-100D header & setup code cleanup
        [ARM] 4405/1: NSLU2, DSM-G600 frequency fixup code
        [ARM] 4404/1: Trivial IXP42x Kconfig cleanup
        [ARM] 4403/1: Make the PXA-I2C driver work with lockdep validator
        [ARM] 4402/1: S3C2443: Add physical address of HSMMC controller
        [ARM] 4401/1: S3C2443: Add definitions for port GPIOJ
      f54496f5
    • R
      [ARM] Fix some section mismatch warnings · cdea4606
      Russell King 提交于
      The following patch fixes these section mismatch warnings:
      
      WARNING: arch/arm/mach-at91/built-in.o(.text+0xdf4): Section mismatch: reference to .init.data:dk_nand_partition (between 'nand_partitions' and 'at91_leds_event')
      WARNING: arch/arm/mach-at91/built-in.o(.text+0xbdc): Section mismatch: reference to .init.data:ek_nand_partition (after 'nand_partitions')
      WARNING: arch/arm/mach-at91/built-in.o(.text+0xbdc): Section mismatch: reference to .init.data:ek_nand_partition (between 'nand_partitions' and 'ads7843_pendown_state')
      WARNING: arch/arm/mach-at91/built-in.o(.text+0xbdc): Section mismatch: reference to .init.data:ek_nand_partition (after 'nand_partitions')
      WARNING: arch/arm/mach-at91/built-in.o(.text+0xc28): Section mismatch: reference to .init.data:kb9202_nand_partition (after 'nand_partitions')
      WARNING: arch/arm/mach-footbridge/built-in.o(.text+0xaa4): Section mismatch: reference to .init.data:cats_pci (between 'cats_pci_init' and 'ebsa285_leds_event')WARNING: arch/arm/mach-ixp2000/built-in.o(.text+0xb54): Section mismatch: reference to .init.text:ixp2000_init_irq (between 'ixdp2x00_init_irq' and 'ixdp2x00_irq_handler')
      WARNING: arch/arm/mach-ixp23xx/built-in.o(.text+0x670): Section mismatch: reference to .init.text:ixp23xx_pci_common_init (between 'ixp23xx_pci_slave_init' and 'ixp23xx_pci_scan_bus')
      WARNING: arch/arm/mach-ixp23xx/built-in.o(.text+0x890): Section mismatch: reference to .init.text:ixp23xx_init_irq (between 'ixdp2351_init_irq' and 'roadrunner_pci_preinit')
      WARNING: arch/arm/mach-ixp23xx/built-in.o(.text+0x9a8): Section mismatch: reference to .init.text:ixp23xx_pci_preinit (after 'roadrunner_pci_preinit')
      WARNING: arch/arm/mach-imx/built-in.o(__ksymtab+0x80): Section mismatch: reference to .init.text:imx_set_mmc_info (between '__ksymtab_imx_set_mmc_info' and '__ksymtab_set_imx_fb_info')
      WARNING: arch/arm/mach-imx/built-in.o(__ksymtab+0x88): Section mismatch: reference to .init.text:set_imx_fb_info (after '__ksymtab_set_imx_fb_info')
      WARNING: arch/arm/mach-sa1100/built-in.o(.text+0x1930): Section mismatch: reference to .init.data:neponset_port_fns (between 'neponset_probe' and 'assabet_leds_event')
      WARNING: drivers/built-in.o(.text+0x3f100): Section mismatch: reference to .init.text:ps2_clear_input (between 'ps2_probe' and 'ps2_cmd_aborted')
      WARNING: drivers/built-in.o(.text+0x3f1c8): Section mismatch: reference to .init.text:ps2_clear_input (between 'ps2_probe' and 'ps2_cmd_aborted')
      WARNING: drivers/built-in.o(.text+0x4f988): Section mismatch: reference to .init.text:ps2_clear_input (between 'ps2_probe' and 'ps2_cmd_aborted')
      WARNING: drivers/built-in.o(.text+0x4fa50): Section mismatch: reference to .init.text:ps2_clear_input (between 'ps2_probe' and 'ps2_cmd_aborted')
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Acked-by: NLennert Buytenhek <buytenh@wantstofly.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      cdea4606
    • L
      Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 · aa2d3322
      Linus Torvalds 提交于
      * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6:
        ehea: Fixed multi queue RX bug
        sky2: enable IRQ on duplex renegotiation
        e1000: restore netif_poll_enable call but make sure IRQs are off
        defxx: Fix the handling of ioremap() failures
        sky2: program proper register for fiber PHY
        sky2: checksum offload plus vlan bug
        sky2: dont set bogus bit in PHY register
        [PATCH] hostap: Allocate enough tailroom for TKIP
        [PATCH] softmac: alloc_ieee80211() NULL check
        [PATCH] ieee80211: fix incomplete error message
        [PATCH] prism54: fix monitor mode oops
      aa2d3322
  3. 30 5月, 2007 21 次提交