]> 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)
commit5f6abcad1cbba157903c6224f64cea1df261e6ec
tree22c25454a849b11c9bdec4854ba4aa43d6e47de0
parentf50e9b68b2eecb8a889c77b373eea090261de80f
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