]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/sh/kernel/cpu/sh4/sq.c
sh: Kill off volatile silliness in sq_flush_range().
[karo-tx-linux.git] / arch / sh / kernel / cpu / sh4 / sq.c
index c21512c6044e790a815458b7833d48a7b7ce9639..b22a78c807e6bb012ba2f4289673176c598e8453 100644 (file)
@@ -58,11 +58,11 @@ do {                                                \
  */
 void sq_flush_range(unsigned long start, unsigned int len)
 {
-       volatile unsigned long *sq = (unsigned long *)start;
+       unsigned long *sq = (unsigned long *)start;
 
        /* Flush the queues */
        for (len >>= 5; len--; sq += 8)
-               prefetchw((void *)sq);
+               prefetchw(sq);
 
        /* Wait for completion */
        store_queue_barrier();