1. 22 Oct, 2010 4 commits
  2. 18 Oct, 2010 4 commits
  3. 07 Oct, 2010 3 commits
    • David Howells's avatar
      Fix IRQ flag handling naming · df9ee292
      David Howells authored
      Fix the IRQ flag handling naming.  In linux/irqflags.h under one configuration,
      it maps:
      
      	local_irq_enable() -> raw_local_irq_enable()
      	local_irq_disable() -> raw_local_irq_disable()
      	local_irq_save() -> raw_local_irq_save()
      	...
      
      and under the other configuration, it maps:
      
      	raw_local_irq_enable() -> local_irq_enable()
      	raw_local_irq_disable() -> local_irq_disable()
      	raw_local_irq_save() -> local_irq_save()
      	...
      
      This is quite confusing.  There should be one set of names expected of the
      arch, and this should be wrapped to give another set of names that are expected
      by users of this facility.
      
      Change this to have the arch provide:
      
      	flags = arch_local_save_flags()
      	flags = arch_local_irq_save()
      	arch_local_irq_restore(flags)
      	arch_local_irq_disable()
      	arch_local_irq_enable()
      	arch_irqs_disabled_flags(flags)
      	arch_irqs_disabled()
      	arch_safe_halt()
      
      Then linux/irqflags.h wraps these to provide:
      
      	raw_local_save_flags(flags)
      	raw_local_irq_save(flags)
      	raw_local_irq_restore(flag...
      df9ee292
    • David Howells's avatar
      Blackfin: Rename IRQ flags handling functions · 3b139cdb
      David Howells authored
      
      Rename h/w IRQ flags handling functions to be in line with what is expected for
      the irq renaming patch.  This renames local_*_hw() to hard_local_*() using the
      following perl command:
      
      	perl -pi -e 's/local_irq_(restore|enable|disable)_hw/hard_local_irq_\1/ or s/local_irq_save_hw([_a-z]*)[(]flags[)]/flags = hard_local_irq_save\1()/' `find arch/blackfin/ -name "*.[ch]"`
      
      and then fixing up asm/irqflags.h manually.
      
      Additionally, arch/hard_local_save_flags() and arch/hard_local_irq_save() both
      return the flags rather than passing it through the argument list.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      3b139cdb
    • David Howells's avatar
      Blackfin: Add missing dep to asm/irqflags.h · 5c74874b
      David Howells authored
      
      Add a missing dependency (mach/blackfin.h) to asm/irqflags.h so that
      bfin_read_IMASK() can be used by inline functions.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      5c74874b
  4. 27 Aug, 2010 1 commit
  5. 23 Aug, 2010 2 commits
  6. 14 Aug, 2010 1 commit
  7. 11 Aug, 2010 3 commits
  8. 07 Aug, 2010 1 commit
  9. 06 Aug, 2010 12 commits
  10. 05 Aug, 2010 1 commit
  11. 09 Jun, 2010 1 commit
    • Peter Zijlstra's avatar
      arch: Implement local64_t · 1996bda2
      Peter Zijlstra authored
      
      On 64bit, local_t is of size long, and thus we make local64_t an alias.
      On 32bit, we fall back to atomic64_t. (architecture can provide optimized
      32-bit version)
      
      (This new facility is to be used by perf events optimizations.)
      Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: linux-arch@vger.kernel.org
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      LKML-Reference: <new-submission>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      1996bda2
  12. 27 May, 2010 1 commit
  13. 22 May, 2010 5 commits
  14. 21 May, 2010 1 commit