MN10300: SMP: Differentiate local cache flushing
authorAkira Takeuchi <takeuchi.akr@jp.panasonic.com>
Wed, 27 Oct 2010 16:28:45 +0000 (17:28 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 27 Oct 2010 16:28:45 +0000 (17:28 +0100)
commit0bd3eb6ca772775da6125ea5b044d4257473d18d
treea5aa631714910e2d9a698cd9334bbe1b49e33e2f
parent9b287bf9924cedaf1accd7293db3627bef7c46e3
MN10300: SMP: Differentiate local cache flushing

Differentiate local cache flushing from global cache flushing so that they can
be done differently on SMP systems.

Rename the cache functions from:

mn10300_[id]cache_*()

to:

mn10300_[id]_localcache_*()

and on a UP system, assign the global labels to the local labels.

Signed-off-by: Akira Takeuchi <takeuchi.akr@jp.panasonic.com>
Signed-off-by: Kiyoshi Owada <owada.kiyoshi@jp.panasonic.com>
Signed-off-by: David Howells <dhowells@redhat.com>
arch/mn10300/include/asm/cacheflush.h
arch/mn10300/mm/cache-flush-by-tag.S
arch/mn10300/mm/cache-inv-by-tag.S
arch/mn10300/proc-mn103e010/include/proc/cache.h