ARC: Elide redundant setup of DMA callbacks
authorVineet Gupta <vgupta@synopsys.com>
Mon, 13 Jun 2016 14:38:27 +0000 (16:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Sep 2016 06:32:42 +0000 (08:32 +0200)
commit03551c85c1c01bf7ec58218a2afb225d98da0b97
tree55b21a4715508da29a4e82f6fe40cc64511b05a3
parente44f5b5386f49f00d8d62880c28a814e8220c8ed
ARC: Elide redundant setup of DMA callbacks

commit 45c3b08a117e2232fc8d7b9e849ead36386f4f96 upstream.

For resources shared by all cores such as SLC and IOC, only the master
core needs to do any setups / enabling / disabling etc.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arc/mm/cache.c