1. 13 8月, 2010 18 次提交
    • L
      Merge branch 'params' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus · 26df0766
      Linus Torvalds 提交于
      * 'params' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus: (22 commits)
        param: don't deref arg in __same_type() checks
        param: update drivers/acpi/debug.c to new scheme
        param: use module_param in drivers/message/fusion/mptbase.c
        ide: use module_param_named rather than module_param_call
        param: update drivers/char/ipmi/ipmi_watchdog.c to new scheme
        param: lock if_sdio's lbs_helper_name and lbs_fw_name against sysfs changes.
        param: lock myri10ge_fw_name against sysfs changes.
        param: simple locking for sysfs-writable charp parameters
        param: remove unnecessary writable charp
        param: add kerneldoc to moduleparam.h
        param: locking for kernel parameters
        param: make param sections const.
        param: use free hook for charp (fix leak of charp parameters)
        param: add a free hook to kernel_param_ops.
        param: silence .init.text references from param ops
        Add param ops struct for hvc_iucv driver.
        nfs: update for module_param_named API change
        AppArmor: update for module_param_named API change
        param: use ops in struct kernel_param, rather than get and set fns directly
        param: move the EXPORT_SYMBOL to after the definitions.
        ...
      26df0766
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/voltage-2.6 · 58028762
      Linus Torvalds 提交于
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/voltage-2.6: (22 commits)
        regulator: Remove default DEBUG define from TPS6586x
        regulator: tps6507x - add missing platform_set_drvdata in tps6507x_pmic_probe
        regulator: tps6586x - add regulator_unregister() in tps6586x_regulator_remove()
        mfd: max8998 - fix incorrect kfree(i2c) in i2c_driver probe callback handler
        regulator: lp3971 - remove unnecessary ret value checking in lp3971_i2c_write()
        regulator: max8660 - fix a memory leak in max8660_remove()
        regulator: max1586 - fix a memory leak in max1586_pmic_remove()
        regulator: Default GPIO controlled WM8994 regulators to disabled
        regulator: lp3971 - remove unnecessary ret value checking in lp3971_i2c_write()
        max8998: fix off-by-one value range checking
        regulator: tps6586x: fix millivolt return values and SM2 table
        regulator: tps6586x: add dependancy on MFD_TPS6585x
        regulator: add TPS6586X regulator driver
        regulator: MAX8998: set_voltage bugfix. ramp_up delay and min/max voltage
        regulator: add support for regulators on the ab8500 MFD
        ab8500-mfd: add regulator support to ab8500 mfd device
        tps65023: Allow registering similar TPS65021
        drivers: regulators: depend on MFD_MAX8998
        drivers: regulator: add Maxim 8998 driver
        ISL6271A voltage regulator support.
        ...
      58028762
    • L
      Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6 · e83ddb33
      Linus Torvalds 提交于
      * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6: (40 commits)
        mfd: Fix incorrect kfree(i2c) in wm8994-core i2c_driver probe
        mfd: Fix incorrect kfree(i2c) in wm831x-core i2c_driver probe
        mfd: Fix incorrect kfree(i2c) in tps6507x i2c_driver probe
        mfd: Add TPS6586x driver
        mfd: Use macros instead of some constant magic numbers for menelaus
        mfd: Fix menelaus mmc slot 2 misconfiguration
        mfd: Missing slab.h includes
        mfd: Fix wrong wm8350-core kfree in error path
        mfd: Fix wm8994_device_init() return value
        mfd: Avoid calling platform_device_put() twice in ucb1400 probe error path
        mfd: Annotate tc6387xb probe/remove routines with __devinit/__devexit
        mfd: Fix tc6387xb resource reclaim
        mfd: Fix wrong goto labels for tc6393xb error handling
        mfd: Get rid of now unused mc13783 private header
        hwmon: Don't access struct mc13783 directly from mc13783-adc
        mfd: New mc13783 function exposing flags
        mfd: Check jz4740-adc kmalloc() result
        mfd: Fix jz4740-adc resource reclaim in probe error path
        mfd: Add WM8321 support
        mfd: Add stmpe auto sleep feature
        ...
      e83ddb33
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 · 14a4fa20
      Linus Torvalds 提交于
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
        ASoC: add AD1980 obsolete information
        ASoC: register cache should be 1 byte aligned for 1 byte long register
        ALSA: hda - Adding support for new IDT 92HD87XX codecs
        ASoC: Fix inverted mute controls for WM8580
        ALSA: HDA: Use model=auto for LG R510
        ALSA: hda - Update model entries in HD-Audio-Models.txt
        ALSA: hda: document VIA models
        ALSA: hda - patch_nvhdmi.c: Add missing codec IDs, unify names
        ALSA: hda - add support for Conexant CX20584
        ALSA: hda - New snd-hda-intel model/pin config for hp dv7-4000
        ALSA: hda - Fix missing stream for second ADC on Realtek ALC260 HDA codec
        ALSA: hda - Make converter setups sticky
        ALSA: hda - Add support for Acer ZGA ALC271 (1025:047c)
        sound/oss: Adjust confusing if indentation
        sound: oss: au1550_ac97.c removed duplicated #include
        ASoC: Fix for changed Eureka Kconfig symbol names
      14a4fa20
    • L
      Merge git://git.infradead.org/battery-2.6 · 16bb85bc
      Linus Torvalds 提交于
      * git://git.infradead.org/battery-2.6:
        intel_mid_battery: Fix battery scaling
        intel_mid_battery: Fix the argument order to intel_scu_ipc_command
        olpc_battery: Fix build failure caused by sysfs changes
        Add s3c-adc-battery driver
        Intel MID platform battery driver
      
      Fix up trivial conflicts (battery drivers added from different branches)
      in drivers/power/{Kconfig,Makefile}
      16bb85bc
    • C
      x86/hpet: Use the FSEC_PER_SEC constant for femto-second periods · 4936a3b9
      Chris Wilson 提交于
      The current computation, introduced with f12a15be, of FSEC_PER_SEC using
      the multiplication of (FSEC_PER_NSEC * NSEC_PER_SEC) is performed only
      with 32bit integers on small machines, resulting in an overflow and a
      *very* short intervals being programmed.  An interrupt storm follows.
      
      Note that we also have to specify FSEC_PER_SEC as being long long to
      overcome the same limitations.
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: NJohn Stultz <johnstul@us.ibm.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Acked-by: NIngo Molnar <mingo@elte.hu>
      Acked-by: NH. Peter Anvin <hpa@zytor.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      4936a3b9
    • J
      timekeeping: Fix overflow in rawtime tv_nsec on 32 bit archs · deda2e81
      Jason Wessel 提交于
      The tv_nsec is a long and when added to the shifted interval it can wrap
      and become negative which later causes looping problems in the
      getrawmonotonic().  The edge case occurs when the system has slept for
      a short period of time of ~2 seconds.
      
      A trace printk of the values in this patch illustrate the problem:
      
      ftrace time stamp: log
      43.716079: logarithmic_accumulation: raw: 3d0913 tv_nsec d687faa
      43.718513: logarithmic_accumulation: raw: 3d0913 tv_nsec da588bd
      43.722161: logarithmic_accumulation: raw: 3d0913 tv_nsec de291d0
      46.349925: logarithmic_accumulation: raw: 7a122600 tv_nsec e1f9ae3b
      46.349930: logarithmic_accumulation: raw: 1e848980 tv_nsec 8831c0e3
      
      The kernel starts looping at 46.349925 in the getrawmonotonic() due to
      the negative value from adding the raw value to tv_nsec.
      
      A simple solution is to accumulate into a u64, and then normalize it
      to a timespec_t.
      Signed-off-by: NJason Wessel <jason.wessel@windriver.com>
       [ Reworked variable names and simplified some of the code. - John ]
      Signed-off-by: NJohn Stultz <johnstul@us.ibm.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: H. Peter Anvin <hpa@zytor.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      deda2e81
    • D
      MN10300: Use no_printk() for disabled gdbstub debugging functions · 95f45727
      David Howells 提交于
      Use no_printk() for disabled gdbstub debugging functions to maintain side
      effect checking.
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      95f45727
    • D
      Add a dummy printk function for the maintenance of unused printks · 12fdff3f
      David Howells 提交于
      Add a dummy printk function for the maintenance of unused printks through gcc
      format checking, and also so that side-effect checking is maintained too.
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      12fdff3f
    • D
      MN10300: Don't try and #include <linux/slab.h> in lib/inflate.c from bootloader · 1490cf5f
      David Howells 提交于
      Don't try and #include <linux/slab.h> in lib/inflate.c from the bootloader code
      as linux/slab.h hauls in function defs that aren't available in the bootloader
      code and may also haul in conflicting functions.
      
      To fix this, make the inclusion of linux/slab.h contingent on NO_INFLATE_MALLOC
      as are the usages of kmalloc() and kfree().
      
      In MN10300, this causes the following errors:
      
      In file included from include/linux/string.h:21,
                       from include/linux/bitmap.h:8,
                       from include/linux/nodemask.h:93,
                       from include/linux/mmzone.h:16,
                       from include/linux/gfp.h:4,
                       from include/linux/slab.h:12,
                       from arch/mn10300/boot/compressed/../../../../lib/inflate.c:106,
                       from arch/mn10300/boot/compressed/misc.c:170:
      /warthog/am33/linux-2.6-mn10300/arch/mn10300/include/asm/string.h:19: error: conflicting types for 'memset'
      arch/mn10300/boot/compressed/misc.c:59: error: previous definition of 'memset' was here
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      1490cf5f
    • D
      MN10300: Permit .GCC-command-line sections · 019fca84
      David Howells 提交于
      Permit .GCC-command-line sections in modules.  Otherwise modpost says things
      like:
      
      WARNING: drivers/mtd/chips/map_ram.o (.GCC-command-line): unexpected non-allocatable section.
      Did you forget to use "ax"/"aw" in a .S file?
      Note that for example <linux/init.h> contains
      section definitions for use in .S files.
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      019fca84
    • D
      MN10300: Fix size_t and ssize_t · 3ad001c0
      David Howells 提交于
      With the newer compilers, size_t and ssize_t are expected to be (un)signed int
      rather than (un)signed long.
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      3ad001c0
    • D
      MN10300: Fix RTC routines · 35579576
      David Howells 提交于
      A change to the RTC routines in the MN10300 arch used set_rtc_mms() when it
      meant set_rtc_mmss().  This results in an error due to a reference of an
      undefined symbol.
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      35579576
    • L
      Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 · d4a47ac1
      Linus Torvalds 提交于
      * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
        [IA64] Fix rwsem: RWSEM_WAITING_BIAS must not be unsigned.
      d4a47ac1
    • L
      Merge branch 'drm-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 · aa9f56b6
      Linus Torvalds 提交于
      * 'drm-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6: (55 commits)
        io-mapping: move asm include inside the config option
        vgaarb: drop vga.h include
        drm/radeon: Add probing of clocks from device-tree
        drm/radeon: drop old and broken mesa warning
        drm/radeon: Fix pci_map_page() error checking
        drm: Remove count_lock for calling lastclose() after 58474713 (v2)
        drm/radeon/kms: allow FG_ALPHA_VALUE on r5xx
        drm/radeon/kms: another r6xx/r7xx CS checker fix
        DRM: Replace kmalloc/memset combos with kzalloc
        drm: expand gamma_set
        drm/edid: Split mode lists out to their own header for readability
        drm/edid: Rewrite mode parse to use the generic detailed block walk
        drm/edid: Add detailed block walk for VTB extensions
        drm/edid: Add detailed block walk for CEA extensions
        drm: Remove unused fields from drm_display_info
        drm: Use ENOENT consistently for the error return for an unmatched handle.
        drm/radeon/kms: mark 3D power states as performance
        drm: Only set DPMS once on the CRTC not after every encoder.
        drm/radeon/kms: add additional quirk for Acer rv620 laptop
        drm: Propagate error code from fb_create()
        ...
      
      Fix up trivial conflicts in drivers/gpu/drm/drm_edid.c
      aa9f56b6
    • T
      [IA64] Fix rwsem: RWSEM_WAITING_BIAS must not be unsigned. · b680f097
      Tony Luck 提交于
      Some nice improvements were made to rwsem in commit:
      
       424acaae
       rwsem: wake queued readers when writer blocks on active read lock
      
      but this change overlooked that ia64 had defined RWSEM_WAITING_BIAS
      as an unsigned value, while the new code required a signed value (as
      it is in every other architecture).
      
      This fix suggested by the original patch author: Michel Lespinasse.
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      b680f097
    • L
      Merge branch 'next-devicetree' of git://git.secretlab.ca/git/linux-2.6 · 58d4ea65
      Linus Torvalds 提交于
      * 'next-devicetree' of git://git.secretlab.ca/git/linux-2.6:
        mmc_spi: Fix unterminated of_match_table
        of/sparc: fix build regression from of_device changes
        of/device: Replace struct of_device with struct platform_device
      58d4ea65
    • L
      Merge branch 'stable/xen-swiotlb-0.8.6' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen · 26f0cf91
      Linus Torvalds 提交于
      * 'stable/xen-swiotlb-0.8.6' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen:
        x86: Detect whether we should use Xen SWIOTLB.
        pci-swiotlb-xen: Add glue code to setup dma_ops utilizing xen_swiotlb_* functions.
        swiotlb-xen: SWIOTLB library for Xen PV guest with PCI passthrough.
        xen/mmu: inhibit vmap aliases rather than trying to clear them out
        vmap: add flag to allow lazy unmap to be disabled at runtime
        xen: Add xen_create_contiguous_region
        xen: Rename the balloon lock
        xen: Allow unprivileged Xen domains to create iomap pages
        xen: use _PAGE_IOMAP in ioremap to do machine mappings
      
      Fix up trivial conflicts (adding both xen swiotlb and xen pci platform
      driver setup close to each other) in drivers/xen/{Kconfig,Makefile} and
      include/xen/xen-ops.h
      26f0cf91
  2. 12 8月, 2010 22 次提交