ARC: [mm] Fix compilation breakage
authorNoam Camus <noamc@ezchip.com>
Wed, 3 Sep 2014 11:41:11 +0000 (14:41 +0300)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Sep 2014 17:08:50 +0000 (10:08 -0700)
Structure name and variable name were erroneously interchanged

Signed-off-by: Noam Camus <noamc@ezchip.com>
Acked-by: Vineet Gupta <vgupta@synopsys.com>
[ Also removed pointless cast from "void *".  - Linus ]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/arc/mm/cache_arc700.c

index e88ddbf990e34cfa83bb6a3138124750ecc0762b..9e1142729fd14c003c4f302a8305de1d735ab7a2 100644 (file)
@@ -427,7 +427,7 @@ struct ic_inv_args {
 
 static void __ic_line_inv_vaddr_helper(void *info)
 {
-        struct ic_inv *ic_inv_args = (struct ic_inv_args *) info;
+        struct ic_inv_args *ic_inv = info;
 
         __ic_line_inv_vaddr_local(ic_inv->paddr, ic_inv->vaddr, ic_inv->sz);
 }