1. 17 10月, 2012 1 次提交
    • D
      UAPI: Make arch/sh/include/uapi/asm/hw_breakpoint.h non-empty · 588be300
      David Howells 提交于
      arch/sh/include/uapi/asm/hw_breakpoint.h was emitted by the UAPI disintegration
      script as an empty file because the parent file had no UAPI stuff in it,
      despite being marked with "header-y".
      
      Unfortunately, the patch program deletes resultant empty files when applying a
      kernel patch.
      
      So just stick a comment in there as a placeholder.
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      cc: Paul Mundt <lethal@linux-sh.org>
      cc: linux-sh@vger.kernel.org
      588be300
  2. 15 10月, 2012 1 次提交
  3. 09 10月, 2012 2 次提交
  4. 06 10月, 2012 2 次提交
    • J
      cross-arch: don't corrupt personality flags upon exec() · 16f3e95b
      Jiri Kosina 提交于
      Historically, the top three bytes of personality have been used for
      things such as ADDR_NO_RANDOMIZE, which made sense only for specific
      architectures.
      
      We now however have a flag there that is general no matter the
      architecture (UNAME26); generally we have to be careful to preserve the
      personality flags across exec().
      
      This patch tries to fix all architectures that forcefully overwrite
      personality flags during exec() (ppc32 and s390 have been fixed recently
      by commits f9783ec8 ("[S390] Do not clobber personality flags on
      exec") and 59e4c3a2 ("powerpc/32: Don't clobber personality flags on
      exec") in a similar way already).
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      Cc: Haavard Skinnemoen <hskinnemoen@gmail.com>
      Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no>
      Cc: Mike Frysinger <vapier@gentoo.org>
      Cc: Mark Salter <msalter@redhat.com>
      Cc: Mikael Starvik <starvik@axis.com>
      Cc: Jesper Nilsson <jesper.nilsson@axis.com>
      Cc: David Howells <dhowells@redhat.com>
      Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
      Cc: Richard Kuo <rkuo@codeaurora.org>
      Cc: Hirokazu Takata <takata@linux-m32r.org>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Michal Simek <monstr@monstr.eu>
      Cc: Koichi Yasutake <yasutake.koichi@jp.panasonic.com>
      Cc: Jonas Bonn <jonas@southpole.se>
      Cc: Chen Liqin <liqin.chen@sunplusct.com>
      Cc: Lennox Wu <lennox.wu@gmail.com>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Chris Zankel <chris@zankel.net>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      16f3e95b
    • A
      sections: fix section conflicts in arch/sh · 666e81fd
      Andi Kleen 提交于
      Signed-off-by: NAndi Kleen <ak@linux.intel.com>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      666e81fd
  5. 03 10月, 2012 2 次提交
  6. 01 10月, 2012 1 次提交
    • A
      sanitize tsk_is_polling() · 16a80163
      Al Viro 提交于
      Make default just return 0.  The current default (checking
      TIF_POLLING_NRFLAG) is taken to architectures that need it;
      ones that don't do polling in their idle threads don't need
      to defined TIF_POLLING_NRFLAG at all.
      
      ia64 defined both TS_POLLING (used by its tsk_is_polling())
      and TIF_POLLING_NRFLAG (not used at all).  Killed the latter...
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      16a80163
  7. 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
  8. 20 9月, 2012 1 次提交
  9. 09 8月, 2012 1 次提交
  10. 31 7月, 2012 1 次提交
  11. 26 7月, 2012 1 次提交
  12. 20 7月, 2012 1 次提交
  13. 12 7月, 2012 1 次提交
  14. 27 6月, 2012 1 次提交
  15. 14 6月, 2012 1 次提交
  16. 13 6月, 2012 4 次提交
  17. 02 6月, 2012 2 次提交
  18. 31 5月, 2012 1 次提交
  19. 28 5月, 2012 1 次提交
  20. 24 5月, 2012 3 次提交
    • P
      sh: se7343: Move CPLD IRQs to irqdomain and generic irq chip. · 197b58e6
      Paul Mundt 提交于
      Follows the se7722 change, see there for more information.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      197b58e6
    • P
      sh: se722: Move FPGA IRQs to irqdomain and generic irq chip. · 5df38b9b
      Paul Mundt 提交于
      This implements a total rewrite of the rather buggy SE7722 FPGA IRQ code,
      utilizing a linear irq domain as well as the generic irq chip type.
      
      While the interaction between the two APIs is a bit clunky (ie, revmap
      lookup for gc irq_base), they work well enough together that it's easy
      enough to work with going forward.
      
      While we're at it, deal with irq_mask_ack/unmask of the chained IRQ in
      the demux handler to prevent smc91x screaming about spurious interrupts.
      
      There's also some more improvement that can be made to the irqdomain code
      to create backing irqdescs for the entire linear range in one bang
      instead of iterating over the number of hwirqs and doing it
      irq-at-a-time. This is easily dealt with at a later point, though.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      5df38b9b
    • P
      sh64: Convert to unwinder API. · 49453264
      Paul Mundt 提交于
      This switches over to use the sh unwinder API which brings it all in line
      with the general sh routines (which we shuffle around at the same time),
      and lets us kill off more sh64-specific cruft.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      49453264
  21. 22 5月, 2012 1 次提交
  22. 21 5月, 2012 1 次提交
    • P
      sh: Kill off machvec IRQ hinting. · 63dc02bd
      Paul Mundt 提交于
      Everything is using sparseirq these days, so we have no need to
      arbitrarily size nr_irqs ahead of time. The legacy IRQ pre-allocation
      likewise has no meaning for us, so that's killed off too. We now depend
      on nr_irqs expansion by the generic hardirq layer instead.
      
      It's also worth noting that the majority of boards had completely bogus
      values for their nr_irqs relative to their CPU and configurations, so
      this ends up correcting behaviour for quite a few platforms.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      63dc02bd
  23. 19 5月, 2012 4 次提交
  24. 18 5月, 2012 5 次提交