1. 15 9月, 2011 14 次提交
  2. 24 8月, 2011 1 次提交
  3. 23 8月, 2011 1 次提交
  4. 10 8月, 2011 1 次提交
  5. 09 8月, 2011 1 次提交
  6. 05 8月, 2011 1 次提交
  7. 04 8月, 2011 1 次提交
  8. 26 7月, 2011 20 次提交
    • P
      eventpoll: fix comment typo 'evenpoll' · 10bd2473
      Paul Bolle 提交于
      Signed-off-by: NPaul Bolle <pebolle@tiscali.nl>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      10bd2473
    • L
      p9: avoid unused variable warning · e08dc132
      Linus Torvalds 提交于
      Commit 4e34e719 ("fs: take the ACL checks to common code") removed
      the use of the 'acl' variable in v9fs_iop_get_acl(), but left the
      variable definition around.  Remove it to get rid of the warning:
      
        fs/9p/acl.c: In function ‘v9fs_iop_get_acl’:
        fs/9p/acl.c:101:20: warning: unused variable ‘acl’
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      e08dc132
    • L
      Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 · 13805165
      Linus Torvalds 提交于
      * 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6: (741 commits)
        staging:iio:meter:ade7753 should be 16 bit read not 8 bit for mode register.
        staging:iio:kfifo_buf fix double initialization of the ring device structure.
        staging:iio:accel:lis3l02dq: fix incorrect pointer passed to spi_set_drvdata.
        staging:iio:imu fix missing register table index for some channels
        spectra: enable device before poking it
        staging: rts_pstor: Fix a miswriting
        staging/lirc_bt829: Return -ENODEV when no hardware is found.
        staging/lirc_parallel: remove pointless prototypes.
        staging/lirc_parallel: fix panic on rmmod
        staging:iio:adc:ad7476: Incorrect pointer into spi_set_drvdata.
        Staging: zram: Fix kunmapping order
        Revert "gma500: Fix dependencies"
        gma500: Add medfield header
        gma500: wire up the mrst i2c bus from chip_info
        gma500: Fix DPU build
        gma500: Clean up the DPU config and make it runtime
        gma500: resync with Medfield progress
        gma500: Use the mrst helpers and power control for mode commit
        gma500@ Fix backlight range error
        gma500: More Moorestown muddle meddling means MM maybe might modeset
        ...
      
      Fix up fairly trivial conflicts all over, mostly due to header file
      cleanup conflicts, but some deleted files and some just context changes:
       - Documentation/feature-removal-schedule.txt
       - drivers/staging/bcm/headers.h
       - drivers/staging/brcm80211/brcmfmac/dhd_linux.c
       - drivers/staging/brcm80211/brcmfmac/dhd_sdio.c
       - drivers/staging/brcm80211/brcmfmac/wl_cfg80211.h
       - drivers/staging/brcm80211/brcmfmac/wl_iw.c
       - drivers/staging/et131x/et131x_netdev.c
       - drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c
       - drivers/staging/rtl8192e/r8192E.h
       - drivers/staging/usbip/userspace/src/utils.h
      13805165
    • L
      Merge branch 'tty-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6 · d5ef6423
      Linus Torvalds 提交于
      * 'tty-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6: (26 commits)
        amba pl011: workaround for uart registers lockup
        n_gsm: fix the wrong FCS handling
        pch_uart: add missing comment about OKI ML7223
        pch_uart: Add MSI support
        tty: fix "IRQ45: nobody cared"
        PTI feature to allow user to name and mark masterchannel request.
        0 for o PTI Makefile bug.
        tty: serial: samsung.c remove legacy PM code.
        SERIAL: SC26xx: Fix link error.
        serial: mrst_max3110: initialize waitqueue earlier
        mrst_max3110: Change max missing message priority.
        tty: s5pv210: Add delay loop on fifo reset function for UART
        tty/serial: Fix XSCALE serial ports, e.g. ce4100
        serial: bfin_5xx: fix off-by-one with resource size
        drivers/tty: use printk_ratelimited() instead of printk_ratelimit()
        tty: n_gsm: Added refcount usage to gsm_mux and gsm_dlci structs
        tty: n_gsm: Add raw-ip support
        tty: n_gsm: expose gsmtty device nodes at ldisc open time
        pch_phub: Fix register miss-setting issue
        serial: 8250, increase PASS_LIMIT
        ...
      d5ef6423
    • L
      Merge branch 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6 · f549953c
      Linus Torvalds 提交于
      * 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6: (115 commits)
        EHCI: fix direction handling for interrupt data toggles
        USB: serial: add IDs for WinChipHead USB->RS232 adapter
        USB: OHCI: fix another regression for NVIDIA controllers
        usb: gadget: m66592-udc: add pullup function
        usb: gadget: m66592-udc: add function for external controller
        usb: gadget: r8a66597-udc: add pullup function
        usb: renesas_usbhs: support multi driver
        usb: renesas_usbhs: inaccessible pipe is not an error
        usb: renesas_usbhs: care buff alignment when dma handler
        USB: PL2303: correctly handle baudrates above 115200
        usb: r8a66597-hcd: fixup USB_PORT_STAT_C_SUSPEND shift
        usb: renesas_usbhs: compile/config are rescued
        usb: renesas_usbhs: fixup comment-out
        usb: update email address in ohci-sh and r8a66597-hcd
        usb: r8a66597-hcd: add function for external controller
        EHCI: only power off port if over-current is active
        USB: mon: Allow to use usbmon without debugfs
        USB: EHCI: go back to using the system clock for QH unlinks
        ehci: add pci quirk for Ordissimo and RM Slate 100 too
        ehci: refactor pci quirk to use standard dmi_check_system method
        ...
      
      Fix up trivial conflicts in Documentation/feature-removal-schedule.txt
      f549953c
    • L
      Merge branch 'driver-core-next' of... · f0deb97a
      Linus Torvalds 提交于
      Merge branch 'driver-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6
      
      * 'driver-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6:
        updated Documentation/ja_JP/SubmittingPatches
        debugfs: add documentation for debugfs_create_x64
        uio: uio_pdrv_genirq: Add OF support
        firmware: gsmi: remove sysfs entries when unload the module
        Documentation/zh_CN: Fix messy code file email-clients.txt
        driver core: add more help description for "path to uevent helper"
        driver-core: modify FIRMWARE_IN_KERNEL help message
        driver-core: Kconfig grammar corrections in firmware configuration
        DOCUMENTATION: Replace create_device() with device_create().
        DOCUMENTATION: Update overview.txt in Doc/driver-model.
        pti: pti_tty_install documentation mispelling.
      f0deb97a
    • L
      Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc · 18447502
      Linus Torvalds 提交于
      * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (99 commits)
        drivers/virt: add missing linux/interrupt.h to fsl_hypervisor.c
        powerpc/85xx: fix mpic configuration in CAMP mode
        powerpc: Copy back TIF flags on return from softirq stack
        powerpc/64: Make server perfmon only built on ppc64 server devices
        powerpc/pseries: Fix hvc_vio.c build due to recent changes
        powerpc: Exporting boot_cpuid_phys
        powerpc: Add CFAR to oops output
        hvc_console: Add kdb support
        powerpc/pseries: Fix hvterm_raw_get_chars to accept < 16 chars, fixing xmon
        powerpc/irq: Quieten irq mapping printks
        powerpc: Enable lockup and hung task detectors in pseries and ppc64 defeconfigs
        powerpc: Add mpt2sas driver to pseries and ppc64 defconfig
        powerpc: Disable IRQs off tracer in ppc64 defconfig
        powerpc: Sync pseries and ppc64 defconfigs
        powerpc/pseries/hvconsole: Fix dropped console output
        hvc_console: Improve tty/console put_chars handling
        powerpc/kdump: Fix timeout in crash_kexec_wait_realmode
        powerpc/mm: Fix output of total_ram.
        powerpc/cpufreq: Add cpufreq driver for Momentum Maple boards
        powerpc: Correct annotations of pmu registration functions
        ...
      
      Fix up trivial Kconfig/Makefile conflicts in arch/powerpc, drivers, and
      drivers/cpufreq
      18447502
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu · 3b76eefe
      Linus Torvalds 提交于
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu:
        m68k: Revive reporting of spurious interrupts
        m68knommu: Move forward declaration of do_IRQ() from machdep.h to irq.h
        m68k: fix some atomic operation asm address modes for ColdFire
        m68k: use CPU_HAS_NO_BITFIELDS for signal functions
        m68k: merge and clean up delay.h files
        m68knommu: correctly use trap_init
        m68knommu: merge ColdFire 5206 and 5206e platform code
        m68k: merge mmu and non-mmu bitops.h
        m68k: merge MMU and non MMU versions of system.h
        m68k: merge MMU and non-MMU versions of asm/hardirq.h
        m68k: merge the non-mmu and mmu versions of module.c
        m68knommu: Fix printk() format in free_initrd_mem()
        m68knommu: Make empty_zero_page "void *", like on m68k
      3b76eefe
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/pkl/squashfs-linus · 91d44d99
      Linus Torvalds 提交于
      * git://git.kernel.org/pub/scm/linux/kernel/git/pkl/squashfs-linus:
        Squashfs: Make ZLIB compression support optional
        Squashfs: Update documentation for XZ and add squashfs-tools devel tree
      91d44d99
    • L
      Merge branch 'for-3.1' of git://linux-nfs.org/~bfields/linux · 2dad3206
      Linus Torvalds 提交于
      * 'for-3.1' of git://linux-nfs.org/~bfields/linux:
        nfsd: don't break lease on CLAIM_DELEGATE_CUR
        locks: rename lock-manager ops
        nfsd4: update nfsv4.1 implementation notes
        nfsd: turn on reply cache for NFSv4
        nfsd4: call nfsd4_release_compoundargs from pc_release
        nfsd41: Deny new lock before RECLAIM_COMPLETE done
        fs: locks: remove init_once
        nfsd41: check the size of request
        nfsd41: error out when client sets maxreq_sz or maxresp_sz too small
        nfsd4: fix file leak on open_downgrade
        nfsd4: remember to put RW access on stateid destruction
        NFSD: Added TEST_STATEID operation
        NFSD: added FREE_STATEID operation
        svcrpc: fix list-corrupting race on nfsd shutdown
        rpc: allow autoloading of gss mechanisms
        svcauth_unix.c: quiet sparse noise
        svcsock.c: include sunrpc.h to quiet sparse noise
        nfsd: Remove deprecated nfsctl system call and related code.
        NFSD: allow OP_DESTROY_CLIENTID to be only op in COMPOUND
      
      Fix up trivial conflicts in Documentation/feature-removal-schedule.txt
      2dad3206
    • L
      vfs: fix check_acl compile error when CONFIG_FS_POSIX_ACL is not set · 84635d68
      Linus Torvalds 提交于
      Commit e77819e5 ("vfs: move ACL cache lookup into generic code")
      didn't take the FS_POSIX_ACL config variable into account - when that is
      not set, ACL's go away, and the cache helper functions do not exist,
      causing compile errors like
      
        fs/namei.c: In function 'check_acl':
        fs/namei.c:191:10: error: implicit declaration of function 'negative_cached_acl'
        fs/namei.c:196:2: error: implicit declaration of function 'get_cached_acl'
        fs/namei.c:196:6: warning: assignment makes pointer from integer without a cast
        fs/namei.c:212:11: error: implicit declaration of function 'set_cached_acl'
      Reported-by: NMarkus Trippelsdorf <markus@trippelsdorf.de>
      Acked-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      84635d68
    • L
      Merge 'akpm' patch series · 45b583b1
      Linus Torvalds 提交于
      * Merge akpm patch series: (122 commits)
        drivers/connector/cn_proc.c: remove unused local
        Documentation/SubmitChecklist: add RCU debug config options
        reiserfs: use hweight_long()
        reiserfs: use proper little-endian bitops
        pnpacpi: register disabled resources
        drivers/rtc/rtc-tegra.c: properly initialize spinlock
        drivers/rtc/rtc-twl.c: check return value of twl_rtc_write_u8() in twl_rtc_set_time()
        drivers/rtc: add support for Qualcomm PMIC8xxx RTC
        drivers/rtc/rtc-s3c.c: support clock gating
        drivers/rtc/rtc-mpc5121.c: add support for RTC on MPC5200
        init: skip calibration delay if previously done
        misc/eeprom: add eeprom access driver for digsy_mtc board
        misc/eeprom: add driver for microwire 93xx46 EEPROMs
        checkpatch.pl: update $logFunctions
        checkpatch: make utf-8 test --strict
        checkpatch.pl: add ability to ignore various messages
        checkpatch: add a "prefer __aligned" check
        checkpatch: validate signature styles and To: and Cc: lines
        checkpatch: add __rcu as a sparse modifier
        checkpatch: suggest using min_t or max_t
        ...
      
      Did this as a merge because of (trivial) conflicts in
       - Documentation/feature-removal-schedule.txt
       - arch/xtensa/include/asm/uaccess.h
      that were just easier to fix up in the merge than in the patch series.
      45b583b1
    • A
      drivers/connector/cn_proc.c: remove unused local · f19da2ce
      Andrew Morton 提交于
      Fix the warning
      
        drivers/connector/cn_proc.c: In function 'proc_ptrace_connector':
        drivers/connector/cn_proc.c:176: warning: unused variable 'tracer'
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      f19da2ce
    • P
      Documentation/SubmitChecklist: add RCU debug config options · df2694d8
      Paul E. McKenney 提交于
      There have been persistent lockdep RCU splats, indicating that submitters
      are not testing with CONFIG_PROVE_RCU.  Add this config option to the list
      in Documentation/SubmitChecklist.  Also add CONFIG_DEBUG_OBJECTS_RCU_HEAD
      for good measure.
      Signed-off-by: NPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      df2694d8
    • A
      reiserfs: use hweight_long() · 9d6bf5aa
      Akinobu Mita 提交于
      Use hweight_long() to count free bits in the bitmap.
      Signed-off-by: NAkinobu Mita <akinobu.mita@gmail.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      9d6bf5aa
    • A
      reiserfs: use proper little-endian bitops · 0c2fd1bf
      Akinobu Mita 提交于
      Using __test_and_{set,clear}_bit_le() with ignoring its return value can
      be replaced with __{set,clear}_bit_le().
      
      This introduces reiserfs_{set,clear}_le_bit for __{set,clear}_bit_le and
      does the above change with them.
      Signed-off-by: NAkinobu Mita <akinobu.mita@gmail.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      0c2fd1bf
    • W
      pnpacpi: register disabled resources · 29df8d8f
      Witold Szczeponik 提交于
      When parsing PnP ACPI resource structures, it may happen that some of
      the resources are disabled (in which case "the size" of the resource
      equals zero).
      
      The current solution is to skip these resources completely - with the
      unfortunate side effect that they are not registered despite the fact
      that they exist, after all.  (The downside of this approach is that
      these resources cannot be used as templates for setting the actual
      device's resources because they are missing from the template.) The
      kernel's APM implementation does not suffer from this problem and
      registers all resources regardless of "their size".
      
      This patch fixes a problem with (at least) the vintage IBM ThinkPad 600E
      (and most likely also with the 600, 600X, and 770X which have a very
      similar layout) where some of its PnP devices support options where
      either an IRQ, a DMA, or an IO port is disabled.  Without this patch,
      the devices can not be configured using the
      "/sys/bus/pnp/devices/*/resources" interface.
      
      The manipulation of these resources is important because the 600E has
      very demanding requirements.  For instance, the number of IRQs is not
      sufficient to support all devices of the 600E.  Fortunately, some of the
      devices, like the sound card's MPU-401 UART, can be configured to not
      use any IRQ, hence freeing an IRQ for a device that requires one.
      (Still, the device's "ResourceTemplate" requires an IRQ resource
      descriptor which cannot be created if the resource has not been
      registered in the first place.)
      
      As an example, the dependent sets of the 600E's CSC0103 device (the
      MPU-401 UART) are listed, with the patch applied, as:
      
        Dependent: 00 - Priority preferred
          port 0x300-0x330, align 0xf, size 0x4, 16-bit address decoding
          irq <none> High-Edge
        Dependent: 01 - Priority acceptable
          port 0x300-0x330, align 0xf, size 0x4, 16-bit address decoding
          irq 5,7,2/9,10,11,15 High-Edge
      
      (The same result is obtained when PNPBIOS is used instead of PnP ACPI.)
      Without the patch, the IRQ resource in the preferred option is not
      listed at all:
      
        Dependent: 00 - Priority preferred
          port 0x300-0x330, align 0xf, size 0x4, 16-bit address decoding
        Dependent: 01 - Priority acceptable
          port 0x300-0x330, align 0xf, size 0x4, 16-bit address decoding
          irq 5,7,2/9,10,11,15 High-Edge
      
      And in fact, the 600E's DSDT lists the disabled IRQ as an option, as can
      be seen from the following excerpt from the DSDT:
      
      	Name (_PRS, ResourceTemplate ()
      	{
              StartDependentFn (0x00, 0x00)
              {
                  IO (Decode16, 0x0300, 0x0330, 0x10, 0x04)
                  IRQNoFlags () {}
              }
              StartDependentFn (0x01, 0x00)
              {
                  IO (Decode16, 0x0300, 0x0330, 0x10, 0x04)
                  IRQNoFlags () {5,7,9,10,11,15}
              }
              EndDependentFn ()
      	})
      
      With this patch applied, a user space program - or maybe even the kernel
      - can allocate all devices' resources optimally.  For the 600E, this
      means to find optimal resources for (at least) the serial port, the
      parallel port, the infrared port, the MWAVE modem, the sound card, and
      the MPU-401 UART.
      
      The patch applies the idea to register disabled resources to all types
      of resources, not just to IRQs, DMAs, and IO ports.  At the same time,
      it mimics the behavior of the "pnp_assign_xxx" functions from
      "drivers/pnp/manager.c" where resources with "no size" are considered
      disabled.
      
      No regressions were observed on hardware that does not require this
      patch.
      
      The patch is applied against 2.6.39.
      
      NB: The kernel's current PnP interface does not allow for disabling individual
      resources using the "/sys/bus/pnp/devices/$device/resources" file.  Assuming
      this could be done, a device could be configured to use a disabled resource
      using a simple series of calls:
      
        echo disable > /sys/bus/pnp/devices/$device/resources
        echo clear > /sys/bus/pnp/devices/$device/resources
        echo set irq disabled > /sys/bus/pnp/devices/$device/resources
        echo fill > /sys/bus/pnp/devices/$device/resources
        echo activate > /sys/bus/pnp/devices/$device/resources
      
      This patch addresses only the parsing of PnP ACPI devices.
      
      ChangeLog (v1 -> v2):
       - extend patch description
       - fix typo in patch itself
      Signed-off-by: NWitold Szczeponik <Witold.Szczeponik@gmx.net>
      Cc: Len Brown <lenb@kernel.org>
      Cc: Adam Belay <abelay@mit.edu>
      Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
      Cc: Bjorn Helgaas <bhelgaas@google.com>
      Cc: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
      Cc: Matthew Garrett <mjg@redhat.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      29df8d8f
    • U
      drivers/rtc/rtc-tegra.c: properly initialize spinlock · e57ee017
      Uwe Kleine-König 提交于
      Using __SPIN_LOCK_UNLOCKED for a dynamically allocated lock is wrong and
      breaks the build with PREEMPT_RT_FULL.
      Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Cc: Andrew Chew <achew@nvidia.com>
      Cc: <stable@kernel.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      e57ee017
    • J
      drivers/rtc/rtc-twl.c: check return value of twl_rtc_write_u8() in twl_rtc_set_time() · 8f6b0dd3
      Jesper Juhl 提交于
      We forget to save the return value of the call to
      twl_rtc_write_u8(save_control, REG_RTC_CTRL_REG); in 'ret', making the
      test of 'ret < 0' dead code since 'ret' then couldn't possibly have
      changed since the last test just a few lines above.  It also makes us not
      detect failures from that specific twl_rtc_write_u8() call.
      Signed-off-by: NJesper Juhl <jj@chaosbits.net>
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      Cc: Alexandre Rusev <source@mvista.com>
      Cc: "George G. Davis" <gdavis@mvista.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      8f6b0dd3
    • A
      drivers/rtc: add support for Qualcomm PMIC8xxx RTC · 9a9a54ad
      Anirudh Ghayal 提交于
      Add support for PMIC8xxx based RTC.  PMIC8xxx is Qualcomm's power
      management IC that internally houses an RTC module.  This driver
      communicates with the PMIC module over SSBI bus.
      
      [akpm@linux-foundation.org: cosmetic tweaks]
      Acked-by: NWan ZongShun <mcuos.com@gmail.com>
      Reviewed-by: NStephen Boyd <sboyd@codeaurora.org>
      Signed-off-by: NAnirudh Ghayal <aghayal@codeaurora.org>
      Signed-off-by: NAshay Jaiswal <ashayj@codeaurora.org>
      Cc: Samuel Ortiz <sameo@linux.intel.com>
      Cc: Wan ZongShun <mcuos.com@gmail.com>
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      9a9a54ad