1. 16 2月, 2013 1 次提交
  2. 03 1月, 2013 1 次提交
    • J
      MIPS: 64-bit: Fix build if !CONFIG_MODULES · 2f12fb20
      Joshua Kinard 提交于
      Fix build failure if building a monolithic kernel due to
      arch/mips/kernel/Kconfig selecting MODULES_USE_ELF_REL[A] without checking
      to see if MODULES is set or not.  This leads to 'struct module' not
      existing, which triggers a compile failure in arch/mips/kernel/module-rela.c
      when the compiler attempts to dereference me->name:
      
        CC      arch/mips/kernel/module-rela.o
      arch/mips/kernel/module-rela.c: In function ‘apply_r_mips_26_rela’:
      arch/mips/kernel/module-rela.c:38:74: error: dereferencing pointer to incomplete type
      arch/mips/kernel/module-rela.c:46:12: error: dereferencing pointer to incomplete type
      arch/mips/kernel/module-rela.c: In function ‘apply_relocate_add’:
      arch/mips/kernel/module-rela.c:133:13: error: dereferencing pointer to incomplete type
      make[2]: *** [arch/mips/kernel/module-rela.o] Error 1
      Signed-off-by: NJoshua Kinard <kumba@gentoo.org>
      Cc: linux-mips@linux-mips.org
      Patchwork: https://patchwork.linux-mips.org/patch/4749/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      2f12fb20
  3. 20 12月, 2012 1 次提交
  4. 14 12月, 2012 4 次提交
    • R
      MIPS: PMC-Sierra Yosemite: Remove support. · bdf20507
      Ralf Baechle 提交于
      Nobody seems to be interested anymore and upstream also never had an
      ethernet driver.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      bdf20507
    • R
      MIPS: Remove usage of CEVT_R4K_LIB config option. · f772cdb2
      Ralf Baechle 提交于
      Manuel Lauss <manuel.lauss@gmail.com> writes:
      
      I introduced it as a fallback because early revisions of Alchemy hardware
      we shipped had a non-functional 32kHz timer and had to rely on the r4k
      timer instead.  Previously the r4k timer was initialized regardless, but
      it's useless with the "wait" instruction.
      
      So long story short:   I need either the on-chip 32kHz timer OR the r4k
      timer if the 32kHz one is unusable, but not both, and r4k timer is useless
      when au1k_idle is in use.
      
      The current in-kernel Alchemy boards all work with the 32kHz timer, so I'm
      not against removing R4K_LIB symbols.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      f772cdb2
    • S
      MIPS: Remove usage of CSRC_R4K_LIB config option. · d7ea335c
      Steven J. Hill 提交于
      Manuel Lauss <manuel.lauss@gmail.com> writes:
      
      I introduced it as a fallback because early revisions of Alchemy hardware
      we shipped had a non-functional 32kHz timer and had to rely on the r4k
      timer instead.  Previously the r4k timer was initialized regardless, but
      it's useless with the "wait" instruction.
      
      So long story short:   I need either the on-chip 32kHz timer OR the r4k
      timer if the 32kHz one is unusable, but not both, and r4k timer is useless
      when au1k_idle is in use.
      
      The current in-kernel Alchemy boards all work with the 32kHz timer, so I'm
      not against removing R4K_LIB symbols.
      Signed-off-by: NSteven J. Hill <sjhill@mips.com>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      d7ea335c
    • R
      MIPS: Kconfig: Rename several firmware related config symbols. · 0e2794b0
      Ralf Baechle 提交于
      With the upcoming merge of the ARC architecture there is a small likelyhood
      of conflicting use for the CONFIG_ARC config symbol.  Rename it to
      CONFIG_FW_ARC.  Also rename CONFIG_ARC32 to CONFIG_FW_ARC32, CONFIG_ARC64
      to CONFIG_FW_ARC64.
      
      For consistence also rename CONFIG_SNIPROM to CONFIG_FW_SNIPROM and
      CONFIG_CFE to CONFIG_FW_CFE.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      0e2794b0
  5. 13 12月, 2012 2 次提交
  6. 12 12月, 2012 4 次提交
  7. 09 11月, 2012 3 次提交
  8. 16 10月, 2012 1 次提交
  9. 15 10月, 2012 1 次提交
  10. 11 10月, 2012 2 次提交
  11. 09 10月, 2012 1 次提交
  12. 01 10月, 2012 1 次提交
  13. 28 9月, 2012 1 次提交
    • D
      Make most arch asm/module.h files use asm-generic/module.h · 786d35d4
      David Howells 提交于
      Use the mapping of Elf_[SPE]hdr, Elf_Addr, Elf_Sym, Elf_Dyn, Elf_Rel/Rela,
      ELF_R_TYPE() and ELF_R_SYM() to either the 32-bit version or the 64-bit version
      into asm-generic/module.h for all arches bar MIPS.
      
      Also, use the generic definition mod_arch_specific where possible.
      
      To this end, I've defined three new config bools:
      
       (*) HAVE_MOD_ARCH_SPECIFIC
      
           Arches define this if they don't want to use the empty generic
           mod_arch_specific struct.
      
       (*) MODULES_USE_ELF_RELA
      
           Arches define this if their modules can contain RELA records.  This causes
           the Elf_Rela mapping to be emitted and allows apply_relocate_add() to be
           defined by the arch rather than have the core emit an error message.
      
       (*) MODULES_USE_ELF_REL
      
           Arches define this if their modules can contain REL records.  This causes
           the Elf_Rel mapping to be emitted and allows apply_relocate() to be
           defined by the arch rather than have the core emit an error message.
      
      Note that it is possible to allow both REL and RELA records: m68k and mips are
      two arches that do this.
      
      With this, some arch asm/module.h files can be deleted entirely and replaced
      with a generic-y marker in the arch Kbuild file.
      
      Additionally, I have removed the bits from m32r and score that handle the
      unsupported type of relocation record as that's now handled centrally.
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Acked-by: NSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      786d35d4
  14. 25 9月, 2012 1 次提交
  15. 14 9月, 2012 1 次提交
  16. 13 9月, 2012 1 次提交
  17. 23 8月, 2012 4 次提交
  18. 17 8月, 2012 1 次提交
    • G
      MIPS: ath79: select HAVE_CLK · 94638067
      Gabor Juhos 提交于
      It is needed in order to get rid of the following errors:
      
      arch/mips/ath79/clock.c:353:13: error: redefinition of 'clk_get'
      include/linux/clk.h:281:27: note: previous definition of 'clk_get' was here
      arch/mips/ath79/clock.c:377:5: error: redefinition of 'clk_enable'
      include/linux/clk.h:295:19: note: previous definition of 'clk_enable' was here
      arch/mips/ath79/clock.c:383:6: error: redefinition of 'clk_disable'
      include/linux/clk.h:300:20: note: previous definition of 'clk_disable' was here
      arch/mips/ath79/clock.c:388:15: error: redefinition of 'clk_get_rate'
      include/linux/clk.h:302:29: note: previous definition of 'clk_get_rate' was here
      arch/mips/ath79/clock.c:394:6: error: redefinition of 'clk_put'
      include/linux/clk.h:291:20: note: previous definition of 'clk_put' was here
      Signed-off-by: NGabor Juhos <juhosg@openwrt.org>
      Cc: linux-mips@linux-mips.org
      Patchwork: https://patchwork.linux-mips.org/patch/4170/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      94638067
  19. 01 8月, 2012 2 次提交
  20. 31 7月, 2012 2 次提交
  21. 25 7月, 2012 1 次提交
  22. 24 7月, 2012 3 次提交
  23. 23 7月, 2012 1 次提交