1. 14 10月, 2011 1 次提交
    • N
      ARM: switch from NO_MACH_MEMORY_H to NEED_MACH_MEMORY_H · 0cdc8b92
      Nicolas Pitre 提交于
      Given that we want the default to not have any <mach/memory.h> and given
      that there are now fewer cases where it is still provided than the cases
      where it is not at this point, this makes sense to invert the logic and
      just identify the exception cases.
      
      The word "need" instead of "have" was chosen to construct the config
      symbol so not to suggest that having a mach/memory.h file is actually
      a feature that one should aim for.
      Signed-off-by: NNicolas Pitre <nicolas.pitre@linaro.org>
      0cdc8b92
  2. 26 9月, 2011 1 次提交
    • N
      ARM: prepare for removal of a bunch of <mach/memory.h> files · 1b9f95f8
      Nicolas Pitre 提交于
      When the CONFIG_NO_MACH_MEMORY_H symbol is selected by a particular
      machine class, the machine specific memory.h include file is no longer
      used and can be removed.  In that case the equivalent information can
      be obtained dynamically at runtime by enabling CONFIG_ARM_PATCH_PHYS_VIRT
      or by specifying the physical memory address at kernel configuration time.
      
      If/when all instances of mach/memory.h are removed then this symbol could
      be removed.
      Signed-off-by: NNicolas Pitre <nicolas.pitre@linaro.org>
      1b9f95f8
  3. 23 9月, 2011 2 次提交
  4. 21 9月, 2011 2 次提交
  5. 07 9月, 2011 1 次提交
  6. 31 8月, 2011 4 次提交
  7. 22 8月, 2011 3 次提交
  8. 15 8月, 2011 1 次提交
  9. 13 8月, 2011 1 次提交
  10. 12 8月, 2011 2 次提交
  11. 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
  12. 27 7月, 2011 4 次提交
  13. 25 7月, 2011 1 次提交
  14. 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
  15. 22 7月, 2011 3 次提交
  16. 20 7月, 2011 2 次提交
  17. 19 7月, 2011 4 次提交
  18. 14 7月, 2011 5 次提交
  19. 13 7月, 2011 1 次提交