1. 14 5月, 2012 1 次提交
  2. 12 5月, 2012 1 次提交
  3. 28 3月, 2012 1 次提交
  4. 31 7月, 2011 2 次提交
  5. 10 6月, 2011 1 次提交
  6. 17 5月, 2011 1 次提交
  7. 17 3月, 2011 6 次提交
  8. 24 7月, 2010 1 次提交
  9. 19 5月, 2010 1 次提交
  10. 13 3月, 2010 1 次提交
    • F
      dma-mapping: sparc: unify 32bit and 64bit dma_set_mask · 34900429
      FUJITA Tomonori 提交于
      This patchset transforms the PCI DMA API into the generic device model.
      It's one of the reasons why we introduced the generic DMA API long ago;
      driver writers are always able to use the generic DMA API with any bus
      instead of using bus specific DMA APIs such as pci_map_single,
      sbus_map_single, etc (only two bus specific APIs exist now; pci and ssb).
      
      Some of the PCI DMA API are already implented on the top of the generic
      DMA API (include/asm-generic/pci-dma-compat.h).  But there are some
      exceptions.  This patchset finishes the transformation.
      
      This patch:
      
      sparc has two dma_set_mask implementations for 32bit and 64bit.  They are
      same except for the error returned value.  We can safely unify them since
      the error returned value doesn't matter as long as it is negative (as
      DMA-API.txt describes).
      
      This patch also changes dma_set_mask not to call
      pci_set_dma_mask. Instead, dma_set_mask does the same thing that
      pci_set_dma_mask does. This change enables ut to change
      pci_set_dma_mask to call dma_set_mask; we can implement
      pci_set_dma_mask as pci-dma-compat.h does.
      Signed-off-by: NFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
      Acked-by: NDavid Miller <davem@davemloft.net>
      Cc: Richard Henderson <rth@twiddle.net>
      Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
      Cc: Matt Turner <mattst88@gmail.com>
      Cc: James Bottomley <James.Bottomley@suse.de>
      Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Greg KH <greg@kroah.com>
      Cc: Kay Sievers <kay.sievers@vrfy.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      34900429
  11. 02 11月, 2009 1 次提交
  12. 02 9月, 2009 1 次提交
  13. 10 8月, 2009 3 次提交
  14. 09 1月, 2009 1 次提交
    • S
      sparc: move EXPORT_SYMBOL to the symbols definition · 6943f3da
      Sam Ravnborg 提交于
      Move all applicable EXPORT_SYMBOL()s to the file where the respective
      symbol is defined.
      
      Removed all the includes that are no longer needed in sparc_ksyms_32.c
      
      Comment all remaining EXPORT_SYMBOL()s in sparc_ksyms_32.c
      
      Two symbols are shared with sparc64 thus the exports were removed from
      the sparc_ksyms_64.c too, along with the include their ommission made
      redundant.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      
      Additions by Julian Calaby:
      * Moved EXPORT_SYMBOL()s for prom functions to their rightful places.
      * Made some minor cleanups to the includes and comments of sparc_ksyms_32.c
      * Made another subtraction from sparc_ksyms_64.c
      * Updated and tidied commit message.
      * Rebased patch over sparc-2.6.git HEAD.
      * Ensured that all modified files have the correct includes.
      Signed-off-by: NJulian Calaby <julian.calaby@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6943f3da
  15. 12 12月, 2008 1 次提交
  16. 29 8月, 2008 13 次提交
  17. 08 8月, 2008 1 次提交
  18. 18 7月, 2008 1 次提交
    • A
      sparc/kernel/: possible cleanups · c61c65cd
      Adrian Bunk 提交于
      This patch contains the following possible cleanups:
      - make the following needlessly global code static:
        - apc.c: apc_swift_idle()
        - ebus.c: ebus_blacklist_irq()
        - ebus.c: fill_ebus_child()
        - ebus.c: fill_ebus_device()
        - entry.S: syscall_is_too_hard
        - etra: tsetup_sun4c_stackchk
        - head.S: cputyp
        - head.S: prom_vector_p
        - idprom.c: Sun_Machines[]
        - ioport.c: _sparc_find_resource()
        - ioport.c: create_proc_read_entry()
        - irq.c: struct sparc_irq[]
        - rtrap.S: sun4c_rett_stackchk
        - setup.c: prom_sync_me()
        - setup.c: boot_flags
        - sun4c_irq.c: sun4c_sbint_to_irq()
        - sun4d_irq.c: sbus_tid[]
        - sun4d_irq.c: struct sbus_actions
        - sun4d_irq.c: sun4d_sbint_to_irq()
        - sun4m_irq.c: sun4m_sbint_to_irq()
        - sun4m_irq.c: sun4m_get_irqmask()
        - sun4m_irq.c: sun4m_timers
        - sun4m_smp.c: smp4m_cross_call()
        - sun4m_smp.c: smp4m_blackbox_id()
        - sun4m_smp.c: smp4m_blackbox_current()
        - time.c: sp_clock_typ
        - time.c: sbus_time_init()
        - traps.c: instruction_dump()
        - wof.S: spwin_sun4c_stackchk
        - wuf.S: sun4c_fwin_stackchk
      - #if 0 the following unused code:
        - process.c: sparc_backtrace_lock
        - process.c: __show_backtrace()
        - process.c: show_backtrace()
        - process.c: smp_show_backtrace_all_cpus()
      - remove the following unused code:
        - entry.S: __handle_exception
        - smp.c: smp_num_cpus
        - smp.c: smp_activated
        - smp.c: __cpu_number_map[]
        - smp.c: __cpu_logical_map[]
        - smp.c: bitops_spinlock
        - traps.c: trap_curbuf
        - traps.c: trapbuf[]
        - traps.c: linux_smp_still_initting
        - traps.c: thiscpus_tbr
        - traps.c: thiscpus_mid
      Signed-off-by: NAdrian Bunk <bunk@kernel.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c61c65cd
  19. 20 5月, 2008 1 次提交
  20. 03 2月, 2008 1 次提交