1. 30 Mar, 2012 13 commits
    • David S. Miller's avatar
      sparc: Fix even more fallout from system.h split. · 8befc9f2
      David S. Miller authored
      jump_label.c needs asm/cacheflush.h to get flushi().
      kgdb_64.c needs asm/cacheflush.h to get flushw_all().
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      8befc9f2
    • Stephen Rothwell's avatar
      sparc: fix fallout from system.h split · 7f55ba9c
      Stephen Rothwell authored
      Fixes this build error:
      
      kernel/signal.c: In function 'ptrace_stop':
      kernel/signal.c:1860:3: error: implicit declaration of function 'synchronize_user_stack' [-Werror=implicit-function-declaration]
      Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      7f55ba9c
    • Linus Torvalds's avatar
      Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 4bde23f8
      Linus Torvalds authored
      Pull arm-soc fixes from Olof Johansson:
       "This is a first pass of some of the merge window fallout for ARM
        platforms.
      
        Nothing controversial:
         - A system.h fallout fix for OMAP
         - PXA fixes for breakage caused by the regulator struct changes
         - GPIO fixes for OMAP to properly deal with dynamic IRQ allocation
         - A mismerge in our arm-soc tree of an lpc32xx change for networking
         - A fix for USB setup on tegra
         - An undo of __init annotation of display mux setup on OMAP that's
           needed at runtime"
      
      * tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
        ARM: pxa: fix build issue on stargate2
        ARM: pxa: fix build issue on cm-x300
        ARM: pxa: fix build failure for regulator consumer in em-x270.c
        ARM: LPC32xx: clock.c: Fix lpc-eth clock reference
        ARM: OMAP: pm: fix compilation break
        ARM: OMAP: Remove OMAP_GPIO_IRQ macro definition
        drivers: input: Fix OMAP_GPIO_IRQ with gpio_to_irq() in ams_delta_serio_exit()
        ARM: OMAP: boards: Fix OMAP_GPIO_IRQ usage with gpio_to_irq()
        ARM: pxa: fix regulator related build fail in magician_defconfig
        ARM: tegra: Fix device tree AUXDATA for USB/EHCI
        ARM: OMAP2+: Remove __init from DSI mux functions
      4bde23f8
    • Olof Johansson's avatar
      Merge branch 'fixes' of git://github.com/hzhuang1/linux into fixes · f00e9b11
      Olof Johansson authored
      * 'fixes' of git://github.com/hzhuang1/linux:
        ARM: pxa: fix build issue on stargate2
        ARM: pxa: fix build issue on cm-x300
        ARM: pxa: fix build failure for regulator consumer in em-x270.c
        ARM: pxa: fix regulator related build fail in magician_defconfig
      f00e9b11
    • Linus Torvalds's avatar
      Merge tag 'devicetree-for-linus' of git://git.secretlab.ca/git/linux-2.6 · e152c38a
      Linus Torvalds authored
      Pull devicetree documentation update from Grant Likely.
      
      * tag 'devicetree-for-linus' of git://git.secretlab.ca/git/linux-2.6:
        dt: Linux DT usage model documentation
        mtd: Move fdt partition documentation to a seperate file
      e152c38a
    • Linus Torvalds's avatar
      Merge branch 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · eb05df9e
      Linus Torvalds authored
      Pull x86 cleanups from Peter Anvin:
       "The biggest textual change is the cleanup to use symbolic constants
        for x86 trap values.
      
        The only *functional* change and the reason for the x86/x32 dependency
        is the move of is_ia32_task() into <asm/thread_info.h> so that it can
        be used in other code that needs to understand if a system call comes
        from the compat entry point (and therefore uses i386 system call
        numbers) or not.  One intended user for that is the BPF system call
        filter.  Moving it out of <asm/compat.h> means we can define it
        unconditionally, returning always true on i386."
      
      * 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86: Move is_ia32_task to asm/thread_info.h from asm/compat.h
        x86: Rename trap_no to trap_nr in thread_struct
        x86: Use enum instead of literals for trap values
      eb05df9e
    • Grant Likely's avatar
      dt: Linux DT usage model documentation · 31134efc
      Grant Likely authored
      v2: 2nd draft
       - Editorial cleanups (Randy Dunlap and Stephen Warren)
       - Added missing Microblaze reference (Stephen Neuendorffer)
       - Make example of platform_device creation clearer (Shawn Guo)
       - Expand on PowerPC history and mention i2c mess (David Gibson)
       - convert to plain text (remove bits of html formating)
      Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
      31134efc
    • Linus Torvalds's avatar
      Merge branch 'x86-x32-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · a591afc0
      Linus Torvalds authored
      Pull x32 support for x86-64 from Ingo Molnar:
       "This tree introduces the X32 binary format and execution mode for x86:
        32-bit data space binaries using 64-bit instructions and 64-bit kernel
        syscalls.
      
        This allows applications whose working set fits into a 32 bits address
        space to make use of 64-bit instructions while using a 32-bit address
        space with shorter pointers, more compressed data structures, etc."
      
      Fix up trivial context conflicts in arch/x86/{Kconfig,vdso/vma.c}
      
      * 'x86-x32-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (71 commits)
        x32: Fix alignment fail in struct compat_siginfo
        x32: Fix stupid ia32/x32 inversion in the siginfo format
        x32: Add ptrace for x32
        x32: Switch to a 64-bit clock_t
        x32: Provide separate is_ia32_task() and is_x32_task() predicates
        x86, mtrr: Use explicit sizing and padding for the 64-bit ioctls
        x86/x32: Fix the binutils auto-detect
        x32: Warn and disable rather than error if binutils too old
        x32: Only clear TIF_X32 flag once
        x32: Make sure TS_COMPAT is cleared for x32 tasks
        fs: Remove missed ->fds_bits from cessation use of fd_set structs internally
        fs: Fix close_on_exec pointer in alloc_fdtable
        x32: Drop non-__vdso weak symbols from the x32 VDSO
        x32: Fix coding style violations in the x32 VDSO code
        x32: Add x32 VDSO support
        x32: Allow x32 to be configured
        x32: If configured, add x32 system calls to system call tables
        x32: Handle process creation
        x32: Signal-related system calls
        x86: Add #ifdef CONFIG_COMPAT to <asm/sys_ia32.h>
        ...
      a591afc0
    • Haojian Zhuang's avatar
      ARM: pxa: fix build issue on stargate2 · 5616131d
      Haojian Zhuang authored
      arch/arm/mach-pxa/stargate2.c:155:3: error: unknown field ‘dev’
      specified in initializer
      arch/arm/mach-pxa/stargate2.c:155:3: warning: initialization from
      incompatible pointer type [enabled by default]
      arch/arm/mach-pxa/stargate2.c:155:3: warning: (near initialization for
      ‘stargate2_sensor_3_con[0].dev_name’) [enabled by default]
      make[1]: *** [arch/arm/mach-pxa/stargate2.o] Error 1
      make: *** [arch/arm/mach-pxa] Error 2
      
      It's caused by 'dev' field removed from struct
      regulator_consumer_supply.
      Signed-off-by: default avatarHaojian Zhuang <haojian.zhuang@gmail.com>
      5616131d
    • Haojian Zhuang's avatar
      ARM: pxa: fix build issue on cm-x300 · e9478587
      Haojian Zhuang authored
      arch/arm/mach-pxa/cm-x300.c:716:3: error: unknown field ‘dev’ specified
      in initializer
      make[1]: *** [arch/arm/mach-pxa/cm-x300.o] Error 1
      make: *** [arch/arm/mach-pxa] Error 2
      
      It's caused by 'dev' field removed from struct
      regulator_consumer_supply.
      Signed-off-by: default avatarHaojian Zhuang <haojian.zhuang@gmail.com>
      e9478587
    • Linus Torvalds's avatar
      Merge tag 'cleanup2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 820d41cf
      Linus Torvalds authored
      Pull "ARM: cleanups of io includes" from Olof Johansson:
       "Rob Herring has done a sweeping change cleaning up all of the
        mach/io.h includes, moving some of the oft-repeated macros to a common
        location and removing a bunch of boiler plate.  This is another step
        closer to a common zImage for multiple platforms."
      
      Fix up various fairly trivial conflicts (<mach/io.h> removal vs changes
      around it, tegra localtimer.o is *still* gone, yadda-yadda).
      
      * tag 'cleanup2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (29 commits)
        ARM: tegra: Include assembler.h in sleep.S to fix build break
        ARM: pxa: use common IOMEM definition
        ARM: dma-mapping: convert ARCH_HAS_DMA_SET_COHERENT_MASK to kconfig symbol
        ARM: __io abuse cleanup
        ARM: create a common IOMEM definition
        ARM: iop13xx: fix missing declaration of iop13xx_init_early
        ARM: fix ioremap/iounmap for !CONFIG_MMU
        ARM: kill off __mem_pci
        ARM: remove bunch of now unused mach/io.h files
        ARM: make mach/io.h include optional
        ARM: clps711x: remove unneeded include of mach/io.h
        ARM: dove: add explicit include of dove.h to addr-map.c
        ARM: at91: add explicit include of hardware.h to uncompressor
        ARM: ep93xx: clean-up mach/io.h
        ARM: tegra: clean-up mach/io.h
        ARM: orion5x: clean-up mach/io.h
        ARM: davinci: remove unneeded mach/io.h include
        [media] davinci: remove includes of mach/io.h
        ARM: OMAP: Remove remaining includes for mach/io.h
        ARM: msm: clean-up mach/io.h
        ...
      820d41cf
    • Paul Gortmaker's avatar
      ARM: pxa: fix build failure for regulator consumer in em-x270.c · 804d2312
      Paul Gortmaker authored
      Commit 737f360d
      
      "regulator: Remove support for supplies specified by struct device"
      
      caused this file to break, since it was still relying on the
      device field to be present.  Map it onto dev_name appropriately
      
      Since there are two consumers with the name "reg-userspace-consumer",
      we have to supply the ID as a suffix in the REGULATOR_CONSUMER calls.
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      CC: Mark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: default avatarHaojian Zhuang <haojian.zhuang@gmail.com>
      804d2312
    • Linus Torvalds's avatar
      Revert "ext4: don't release page refs in ext4_end_bio()" · 6268b325
      Linus Torvalds authored
      This reverts commit b43d17f3.
      
      Dave Jones reports that it causes lockups on his laptop, and his debug
      output showed a lot of processes hung waiting for page_writeback (or
      more commonly - processes hung waiting for a lock that was held during
      that writeback wait).
      
      The page_writeback hint made Ted suggest that Dave look at this commit,
      and Dave verified that reverting it makes his problems go away.
      
      Ted says:
       "That commit fixes a race which is seen when you write into fallocated
        (and hence uninitialized) disk blocks under *very* heavy memory
        pressure.  Furthermore, although theoretically it could trigger under
        normal direct I/O writes, it only seems to trigger if you are issuing
        a huge number of AIO writes, such that a just-written page can get
        evicted from memory, and then read back into memory, before the
        workqueue has a chance to update the extent tree.
      
        This race has been around for a little over a year, and no one noticed
        until two months ago; it only happens under fairly exotic conditions,
        and in fact even after trying very hard to create a simple repro under
        lab conditions, we could only reproduce the problem and confirm the
        fix on production servers running MySQL on very fast PCIe-attached
        flash devices.
      
        Given that Dave was able to hit this problem pretty quickly, if we
        confirm that this commit is at fault, the only reasonable thing to do
        is to revert it IMO."
      Reported-and-tested-by: default avatarDave Jones <davej@redhat.com>
      Acked-by: default avatarTheodore Ts'o <tytso@mit.edu>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      6268b325
  2. 29 Mar, 2012 27 commits