Skip to content
  1. Aug 14, 2010
    • Linus Torvalds's avatar
      Merge branch 'x86-uv-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip · 36450e9c
      Linus Torvalds authored
      * 'x86-uv-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
        x86, UV: Initialize BAU MMRs only on hubs with cpus
        x86, UV: Modularize BAU send and wait
        x86, UV: BAU broadcast to the local hub
        x86, UV: Correct BAU regular message type
        x86, UV: Remove BAU check for stay-busy
        x86, UV: Correct BAU discovery of hubs and sockets
        x86, UV: Correct BAU software acknowledge
        x86, UV: BAU structure rearranging
        x86, UV: Shorten access to BAU statistics structure
        x86, UV: Disable BAU on network congestion
        x86, UV: BAU tunables into a debugfs file
        x86, UV: Calculate BAU destination timeout
      36450e9c
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 · 2f2c7795
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (30 commits)
        ctcm: rename READ/WRITE defines to avoid redefinitions
        claw: rename READ/WRITE defines to avoid redefinitions
        phylib: available for any speed ethernet
        can: add limit for nframes and clean up signed/unsigned variables
        pkt_sched: Check .walk and .leaf class handlers
        pkt_sched: Fix sch_sfq vs tc_modify_qdisc oops
        caif-spi: Bugfix SPI_DATA_POS settings were inverted.
        caif: Bugfix - Increase default headroom size for control channel.
        net: make netpoll_rx return bool for !CONFIG_NETPOLL
        Bluetooth: Use 3-DH5 payload size for default ERTM max PDU size
        Bluetooth: Fix incorrect setting of remote_tx_win for L2CAP ERTM
        Bluetooth: Change default L2CAP ERTM retransmit timeout
        Bluetooth: Fix endianness issue with L2CAP MPS configuration
        net: Use NET_XMIT_SUCCESS where possible.
        isdn: mISDN: call pci_disable_device() if pci_probe() failed
        isdn: avm: call pci_disable_device() if pci_probe() failed
        isdn: avm: call pci_disable_device() if pci_probe() failed
        usbnet: rx_submit() should return an error code.
        pkt_sched: Add some basic qdisc class ops verification. Was: [PATCH] sfq: add dummy bind/unbind handles
        pkt_sched: sch_sfq: Add dummy unbind_tcf and put handles. Was: [PATCH] sfq: add dummy bind/unbind handles
        ...
      2f2c7795
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6 · 2897c684
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6:
        [NFS] Set CONFIG_KEYS when CONFIG_NFS_USE_KERNEL_DNS is set
        AFS: Implement an autocell mount capability [ver #2]
        DNS: If the DNS server returns an error, allow that to be cached [ver #2]
        NFS: Use kernel DNS resolver [ver #2]
        cifs: update README to include details about 'fsc' option
      2897c684
    • Linus Torvalds's avatar
      Merge branch 'x86/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip · c029b55a
      Linus Torvalds authored
      * 'x86/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
        x86, asm: Use a lower case name for the end macro in atomic64_386_32.S
        x86, asm: Refactor atomic64_386_32.S to support old binutils and be cleaner
        x86: Document __phys_reloc_hide() usage in __pa_symbol()
        x86, apic: Map the local apic when parsing the MP table.
      c029b55a
    • Linus Torvalds's avatar
      x86: don't send SIGBUS for kernel page faults · 96054569
      Linus Torvalds authored
      
      
      It's wrong for several reasons, but the most direct one is that the
      fault may be for the stack accesses to set up a previous SIGBUS.  When
      we have a kernel exception, the kernel exception handler does all the
      fixups, not some user-level signal handler.
      
      Even apart from the nested SIGBUS issue, it's also wrong to give out
      kernel fault addresses in the signal handler info block, or to send a
      SIGBUS when a system call already returns EFAULT.
      
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      96054569
    • Linus Torvalds's avatar
      mm: fix missing page table unmap for stack guard page failure case · 5528f913
      Linus Torvalds authored
      
      
      .. which didn't show up in my tests because it's a no-op on x86-64 and
      most other architectures.  But we enter the function with the last-level
      page table mapped, and should unmap it at exit.
      
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      5528f913
  2. Aug 13, 2010
    • Linus Torvalds's avatar
      mm: keep a guard page below a grow-down stack segment · 320b2b8d
      Linus Torvalds authored
      
      
      This is a rather minimally invasive patch to solve the problem of the
      user stack growing into a memory mapped area below it.  Whenever we fill
      the first page of the stack segment, expand the segment down by one
      page.
      
      Now, admittedly some odd application might _want_ the stack to grow down
      into the preceding memory mapping, and so we may at some point need to
      make this a process tunable (some people might also want to have more
      than a single page of guarding), but let's try the minimal approach
      first.
      
      Tested with trivial application that maps a single page just below the
      stack, and then starts recursing.  Without this, we will get a SIGSEGV
      _after_ the stack has smashed the mapping.  With this patch, we'll get a
      nice SIGBUS just as the stack touches the page just above the mapping.
      
      Requested-by: default avatarKeith Packard <keithp@keithp.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      320b2b8d
    • Ursula Braun's avatar
      ctcm: rename READ/WRITE defines to avoid redefinitions · 3c09e264
      Ursula Braun authored
      
      
      READ/WRITE seems to be a bit too generic for defines in a device
      driver. Just rename them to CTCM_READ/CTCM_WRITE to avoid warnings.
      
      Signed-off-by: default avatarUrsula Braun <ursula.braun@de.ibm.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      3c09e264
    • Heiko Carstens's avatar
      claw: rename READ/WRITE defines to avoid redefinitions · 319cb083
      Heiko Carstens authored
      
      
      READ/WRITE seems to be a bit too generic for defines in a device driver.
      Just rename them to READ_CHANNEL/WRITE_CHANNEL which should suffice.
      
      Fixes this:
      
      In file included from drivers/s390/net/claw.c:93:
      drivers/s390/net/claw.h:78:1: warning: "WRITE" redefined
      In file included from /home2/heicarst/linux-2.6/arch/s390/include/asm/debug.h:12,
                       from drivers/s390/net/claw.c:68:
      include/linux/fs.h:156:1: warning: this is the location of the previous definition
      
      Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: default avatarUrsula Braun <ursula.braun@de.ibm.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      319cb083
    • Linus Torvalds's avatar
      Revert "fsnotify: store struct file not struct path" · 2069601b
      Linus Torvalds authored
      This reverts commit 3bcf3860 (and the
      accompanying commit c1e5c954
      
       "vfs/fsnotify: fsnotify_close can delay
      the final work in fput" that was a horribly ugly hack to make it work at
      all).
      
      The 'struct file' approach not only causes that disgusting hack, it
      somehow breaks pulseaudio, probably due to some other subtlety with
      f_count handling.
      
      Fix up various conflicts due to later fsnotify work.
      
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      2069601b
    • Steve French's avatar
      [NFS] Set CONFIG_KEYS when CONFIG_NFS_USE_KERNEL_DNS is set · 3f432312
      Steve French authored
      
      
      Previous patch relied on DNS_RESOLVER setting CONFIG_KEYS
      but needs to be selected in NFS config when using the new
      DNS resolver
      
      Signed-off-by: default avatarBryan Schumaker <bjschuma@netapp.com>
      CC: David Howells <dhowells@redhat.com>
      Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
      3f432312
    • Linus Torvalds's avatar
      Merge branch 'io_remap_pfn_range' of git://www.jni.nu/cris · ad41a1e0
      Linus Torvalds authored
      * 'io_remap_pfn_range' of git://www.jni.nu/cris:
        CRIS: Define io_remap_pfn_range as remap_pfn_range
      ad41a1e0
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/agk/linux-2.6-dm · 8357422d
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/agk/linux-2.6-dm: (33 commits)
        dm mpath: support discard
        dm stripe: support discards
        dm: split discard requests on target boundaries
        dm stripe: optimize sector division
        dm stripe: move sector translation to a function
        dm: error return error for discards
        dm delay: support discard
        dm: zero silently drop discards
        dm: use dm_target_offset macro
        dm: factor out max_io_len_target_boundary
        dm: use common __issue_target_request for flush and discard support
        dm: linear support discard
        dm crypt: simplify crypt_ctr
        dm crypt: simplify crypt_config destruction logic
        dm: allow autoloading of dm mod
        dm: rename map_info flush_request to target_request_nr
        dm ioctl: refactor dm_table_complete
        dm snapshot: implement merge
        dm: do not initialise full request queue when bio based
        dm ioctl: make bio or request based device type immutable
        ...
      8357422d
    • Linus Torvalds's avatar
      Merge branch 'hwpoison' of git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-mce-2.6 · 1021a645
      Linus Torvalds authored
      * 'hwpoison' of git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-mce-2.6:
        hugetlb: add missing unlock in avoidcopy path in hugetlb_cow()
        hwpoison: rename CONFIG
        HWPOISON, hugetlb: support hwpoison injection for hugepage
        HWPOISON, hugetlb: detect hwpoison in hugetlb code
        HWPOISON, hugetlb: isolate corrupted hugepage
        HWPOISON, hugetlb: maintain mce_bad_pages in handling hugepage error
        HWPOISON, hugetlb: set/clear PG_hwpoison bits on hugepage
        HWPOISON, hugetlb: enable error handling path for hugepage
        hugetlb, rmap: add reverse mapping for hugepage
        hugetlb: move definition of is_vm_hugetlb_page() to hugepage_inline.h
      
      Fix up trivial conflicts in mm/memory-failure.c
      1021a645
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://neil.brown.name/md · 7367f5b0
      Linus Torvalds authored
      * 'for-linus' of git://neil.brown.name/md:
        Further tidyup of raid6 naming in lib/raid6
        Make lib/raid6/test build correctly.
        Rename raid6 files now they're in a 'raid6' directory.
      7367f5b0
    • Linus Torvalds's avatar
      Merge branch 'msm-core' of git://codeaurora.org/quic/kernel/dwalker/linux-msm · ce4327d3
      Linus Torvalds authored
      * 'msm-core' of git://codeaurora.org/quic/kernel/dwalker/linux-msm:
        msm: mmc: Add msm prefix to platform data structure
        msm: trout: Remove extern declaration from source file
        arm: msm: Fix section mismatch in smd.c.
        arm: msm: trout add mmc support
        arm: msm: trout: add trout specific gpio interrupts
        arm: msm: remove unused #include <linux/version.h>
      ce4327d3
    • Linus Torvalds's avatar
      Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/davej/cpufreq · 4032816d
      Linus Torvalds authored
      * 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/davej/cpufreq:
        [CPUFREQ] add missing __percpu markup in pcc-cpufreq.c
      4032816d
    • Linus Torvalds's avatar
      Merge branch 'i2c-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging · 1c00650c
      Linus Torvalds authored
      * 'i2c-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging:
        i2c: I2C bus multiplexer driver pca954x
        i2c: Multiplexed I2C bus core support
        i2c: Use a separate mutex for userspace client lists
        i2c: Make i2c_default_probe self-sufficient
        i2c: Drop dummy variable
        i2c: Move adapter locking helpers to i2c-core
        V4L/DVB: Use custom I2C probing function mechanism
        i2c: Add support for custom probe function
        i2c-dev: Use memdup_user
        i2c-dev: Remove unnecessary kmalloc casts
      1c00650c
    • Linus Torvalds's avatar
      Merge branch 'params' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus · 26df0766
      Linus Torvalds authored
      * '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
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/voltage-2.6 · 58028762
      Linus Torvalds authored
      * '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
    • Linus Torvalds's avatar
      Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6 · e83ddb33
      Linus Torvalds authored
      * '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
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 · 14a4fa20
      Linus Torvalds authored
      * '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
    • Linus Torvalds's avatar
      Merge git://git.infradead.org/battery-2.6 · 16bb85bc
      Linus Torvalds authored
      * 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
    • Chris Wilson's avatar
      x86/hpet: Use the FSEC_PER_SEC constant for femto-second periods · 4936a3b9
      Chris Wilson authored
      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: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Signed-off-by: default avatarJohn Stultz <johnstul@us.ibm.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Acked-by: default avatarIngo Molnar <mingo@elte.hu>
      Acked-by: default avatarH. Peter Anvin <hpa@zytor.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      4936a3b9
    • Jason Wessel's avatar
      timekeeping: Fix overflow in rawtime tv_nsec on 32 bit archs · deda2e81
      Jason Wessel authored
      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: default avatarJason Wessel <jason.wessel@windriver.com>
       [ Reworked variable names and simplified some of the code. - John ]
      Signed-off-by: default avatarJohn Stultz <johnstul@us.ibm.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: H. Peter Anvin <hpa@zytor.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      deda2e81
    • David Howells's avatar
      MN10300: Use no_printk() for disabled gdbstub debugging functions · 95f45727
      David Howells authored
      
      
      Use no_printk() for disabled gdbstub debugging functions to maintain side
      effect checking.
      
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      95f45727
    • David Howells's avatar
      Add a dummy printk function for the maintenance of unused printks · 12fdff3f
      David Howells authored
      
      
      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: default avatarDavid Howells <dhowells@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      12fdff3f
    • David Howells's avatar
      MN10300: Don't try and #include <linux/slab.h> in lib/inflate.c from bootloader · 1490cf5f
      David Howells authored
      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...
      1490cf5f
    • David Howells's avatar
      MN10300: Permit .GCC-command-line sections · 019fca84
      David Howells authored
      
      
      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: default avatarDavid Howells <dhowells@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      019fca84
    • David Howells's avatar
      MN10300: Fix size_t and ssize_t · 3ad001c0
      David Howells authored
      
      
      With the newer compilers, size_t and ssize_t are expected to be (un)signed int
      rather than (un)signed long.
      
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      3ad001c0
    • David Howells's avatar
      MN10300: Fix RTC routines · 35579576
      David Howells authored
      
      
      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: default avatarDavid Howells <dhowells@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      35579576
    • Namhyung Kim's avatar
      [CPUFREQ] add missing __percpu markup in pcc-cpufreq.c · a3da3234
      Namhyung Kim authored
      
      
      pcc_cpu_info is a percpu pointer but was missing __percpu markup.
      Add it.
      
      Signed-off-by: default avatarNamhyung Kim <namhyung@gmail.com>
      Acked-by: default avatarTejun Heo <tj@kernel.org>
      Signed-off-by: default avatarDave Jones <davej@redhat.com>
      a3da3234
    • Linus Torvalds's avatar
      Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 · d4a47ac1
      Linus Torvalds authored
      * '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
    • Linus Torvalds's avatar
      Merge branch 'drm-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 · aa9f56b6
      Linus Torvalds authored
      * '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
    • Tony Luck's avatar
      [IA64] Fix rwsem: RWSEM_WAITING_BIAS must not be unsigned. · b680f097
      Tony Luck authored
      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: default avatarTony Luck <tony.luck@intel.com>
      b680f097
    • Linus Torvalds's avatar
      Merge branch 'next-devicetree' of git://git.secretlab.ca/git/linux-2.6 · 58d4ea65
      Linus Torvalds authored
      * '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
    • Linus Torvalds's avatar
      Merge branch 'stable/xen-swiotlb-0.8.6' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen · 26f0cf91
      Linus Torvalds authored
      * '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
  3. Aug 12, 2010