1. 23 10月, 2011 1 次提交
  2. 17 10月, 2011 15 次提交
  3. 15 10月, 2011 1 次提交
    • S
      ARM: 7122/1: localtimer: add header linux/errno.h explicitly · bb1ac3ec
      Shawn Guo 提交于
      Per the text in  Documentation/SubmitChecklist as below, we should
      explicitly have header linux/errno.h in localtimer.h for ENXIO
      reference.
      
      1: If you use a facility then #include the file that defines/declares
         that facility.  Don't depend on other header files pulling in ones
         that you use.
      
      Otherwise, we may run into some compiling error like the following one,
      if any file includes localtimer.h without CONFIG_LOCAL_TIMERS defined.
      
        arch/arm/include/asm/localtimer.h: In function ‘local_timer_setup’:
        arch/arm/include/asm/localtimer.h:53:10: error: ‘ENXIO’ undeclared (first use in this function)
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      bb1ac3ec
  4. 06 10月, 2011 3 次提交
  5. 02 10月, 2011 1 次提交
  6. 26 9月, 2011 1 次提交
  7. 17 9月, 2011 1 次提交
    • R
      ARM: nommu: fix warning with checksyscalls.sh · 4dfa3386
      Russell King 提交于
        CALL    scripts/checksyscalls.sh
      <stdin>:46:1: warning: "__IGNORE_migrate_pages" redefined
      In file included from <stdin>:2:
      arch/arm/include/asm/unistd.h:482:1: warning: this is the location of the previous definition
      
      This is caused because we define __IGNORE_migrate_pages to be 1, but
      in the case of nommu, it's defined to be empty.  Fix this by just
      defining the __IGNORE_ symbols to be empty.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      4dfa3386
  8. 07 9月, 2011 1 次提交
  9. 23 8月, 2011 1 次提交
  10. 17 8月, 2011 2 次提交
  11. 15 8月, 2011 1 次提交
  12. 13 8月, 2011 1 次提交
  13. 12 8月, 2011 2 次提交
  14. 28 7月, 2011 1 次提交
    • G
      irq: add irq_domain translation infrastructure · 08a543ad
      Grant Likely 提交于
      This patch adds irq_domain infrastructure for translating from
      hardware irq numbers to linux irqs.  This is particularly important
      for architectures adding device tree support because the current
      implementation (excluding PowerPC and SPARC) cannot handle
      translation for more than a single interrupt controller.  irq_domain
      supports device tree translation for any number of interrupt
      controllers.
      
      This patch converts x86, Microblaze, ARM and MIPS to use irq_domain
      for device tree irq translation.  x86 is untested beyond compiling it,
      irq_domain is enabled for MIPS and Microblaze, but the old behaviour is
      preserved until the core code is modified to actually register an
      irq_domain yet.  On ARM it works and is required for much of the new
      ARM device tree board support.
      
      PowerPC has /not/ been converted to use this new infrastructure.  It
      is still missing some features before it can replace the virq
      infrastructure already in powerpc (see documentation on
      irq_domain_map/unmap for details).  Followup patches will add the
      missing pieces and migrate PowerPC to use irq_domain.
      
      SPARC has its own method of managing interrupts from the device tree
      and is unaffected by this change.
      Acked-by: NRalf Baechle <ralf@linux-mips.org>
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      08a543ad
  15. 27 7月, 2011 4 次提交
  16. 25 7月, 2011 1 次提交
  17. 23 7月, 2011 1 次提交
    • M
      ARM: 7004/1: fix traps.h compile warnings · e7d59db9
      Mikael Pettersson 提交于
      Building kernel 3.0 for an n2100 (plat-iop) results in:
      
      In file included from arch/arm/plat-iop/cp6.c:20:
      /tmp/linux-3.0/arch/arm/include/asm/traps.h:12: warning: 'struct pt_regs' declared inside parameter list
      /tmp/linux-3.0/arch/arm/include/asm/traps.h:12: warning: its scope is only this definition or declaration, which is probably not what you want
      /tmp/linux-3.0/arch/arm/include/asm/traps.h:48: warning: 'struct pt_regs' declared inside parameter list
      /tmp/linux-3.0/arch/arm/include/asm/traps.h:48: warning: 'struct task_struct' declared inside parameter list
      arch/arm/plat-iop/cp6.c:45: warning: initialization from incompatible pointer type
      
      Nothing here depends on the layout of pt_regs or task_struct, so this
      can be fixed by adding forward struct declarations to asm/traps.h.
      Signed-off-by: NMikael Pettersson <mikpe@it.uu.se>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      e7d59db9
  18. 22 7月, 2011 2 次提交
    • R
      PCI: Make the struct pci_dev * argument of pci_fixup_irqs const. · d5341942
      Ralf Baechle 提交于
      Aside of the usual motivation for constification,  this function has a
      history of being abused a hook for interrupt and other fixups so I turned
      this function const ages ago in the MIPS code but it should be done
      treewide.
      
      Due to function pointer passing in varous places a few other functions
      had to be constified as well.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      To: Anton Vorontsov <avorontsov@mvista.com>
      To: Chris Metcalf <cmetcalf@tilera.com>
      To: Colin Cross <ccross@android.com>
      Acked-by: N"David S. Miller" <davem@davemloft.net>
      To: Eric Miao <eric.y.miao@gmail.com>
      To: Erik Gilling <konkers@android.com>
      Acked-by: NGuan Xuetao <gxt@mprc.pku.edu.cn>
      To: "H. Peter Anvin" <hpa@zytor.com>
      To: Imre Kaloz <kaloz@openwrt.org>
      To: Ingo Molnar <mingo@redhat.com>
      To: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
      To: Jesse Barnes <jbarnes@virtuousgeek.org>
      To: Krzysztof Halasa <khc@pm.waw.pl>
      To: Lennert Buytenhek <kernel@wantstofly.org>
      To: Matt Turner <mattst88@gmail.com>
      To: Nicolas Pitre <nico@fluxnic.net>
      To: Olof Johansson <olof@lixom.net>
      Acked-by: NPaul Mundt <lethal@linux-sh.org>
      To: Richard Henderson <rth@twiddle.net>
      To: Russell King <linux@arm.linux.org.uk>
      To: Thomas Gleixner <tglx@linutronix.de>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: linux-alpha@vger.kernel.org
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: linux-kernel@vger.kernel.org
      Cc: linux-mips@linux-mips.org
      Cc: linux-pci@vger.kernel.org
      Cc: linux-sh@vger.kernel.org
      Cc: linux-tegra@vger.kernel.org
      Cc: sparclinux@vger.kernel.org
      Cc: x86@kernel.org
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      d5341942
    • H
      ARM: 6998/2: kernel: use proper memory barriers for bitops · 4cde7e0d
      Heechul Yun 提交于
      Improve scalability by avoiding costly and unnecessary L2 cache sync
      in handling bitops.
      Signed-off-by: NHeechul Yun <hyun@nvidia.com>
      Acked-by: NCatalin Marinas <catalin.marinas@arm.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      4cde7e0d