]> git.baikalelectronics.ru Git - kernel.git/commit
ARC: mm: split arc_cache_init to allow __init reaping of bulk
authorVineet Gupta <vgupta@synopsys.com>
Wed, 18 Jan 2017 23:10:52 +0000 (15:10 -0800)
committerVineet Gupta <vgupta@synopsys.com>
Thu, 19 Jan 2017 03:21:02 +0000 (19:21 -0800)
commit7dc695cd0f43987d0d793038f4fdbf34e0aecf29
tree22c25454a849b11c9bdec4854ba4aa43d6e47de0
parent42a7ee612422d4835f3dad3c23698a0a2edb77cc
ARC: mm: split arc_cache_init to allow __init reaping of bulk

arc_cache_init() is called for each core so can't be tagged __init.
However bulk of it is only executed by master core and thus is candidate
for __init reaping.

So split it up to allow that.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/mm/cache.c