1. 09 Sep, 2009 3 commits
    • Paul Mundt's avatar
      sh: sh4_flush_cache_mm() optimizations. · 654d364e
      Paul Mundt authored
      The i-cache flush in the case of VM_EXEC was added way back when as a
      sanity measure, and in practice we only care about evicting aliases from
      the d-cache. As a result, it's possible to drop the i-cache flush
      completely here.
      
      After careful profiling it's also come up that all of the work associated
      with hunting down aliases and doing ranged flushing ends up generating
      more overhead than simply blasting away the entire dcache, particularly
      if there are many mm's that need to be iterated over. As a result of
      that, just move back to flush_dcache_all() in these cases, which restores
      the old behaviour, and vastly simplifies the path.
      
      Additionally, on platforms without aliases at all, this can simply be
      nopped out. Presently we have the alias check in the SH-4 specific
      version, but this is true for all of the platforms, so move the check up
      to a generic location. This cuts down quite a bit on superfluous cacheop
      IPIs.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      654d364e
    • Paul Mundt's avatar
      sh: Cleanup whitespace damage in sh4_flush_icache_range(). · 682f88ab
      Paul Mundt authored
      There was quite a lot of tab->space damage done here from a former patch,
      clean it up once and for all.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      682f88ab
    • Paul Mundt's avatar
      rtc: rtc-sh: Fix up oops in early periodic freq assignment. · 1043bf5c
      Paul Mundt authored
      With the reordered init order, the rtc device is not registered until
      later, while sh_rtc_irq_set_freq() was attempting to assign ->irq_freq
      directly, resulting in an oops. This is handled by the upper layers for
      us, so just kill off the problematic dereference completely.
      Reported-by: default avatarGuennadi Liakhovetski <g.liakhovetski@gmx.de>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      1043bf5c
  2. 08 Sep, 2009 3 commits
  3. 07 Sep, 2009 7 commits
  4. 06 Sep, 2009 1 commit
    • David S. Miller's avatar
      gianfar: Fix build. · d9d8e041
      David S. Miller authored
      Reported by Michael Guntsche <mike@it-loops.com>
      
      --------------------
      Commit
      38bddf04 gianfar: gfar_remove needs to call unregister_netdev()
      
      breaks the build of the gianfar driver because "dev" is undefined in
      this function. To quickly test rc9 I changed this to priv->ndev but I do
      not know if this is the correct one.
      --------------------
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      d9d8e041
  5. 05 Sep, 2009 26 commits